Restricted Detour Polynomials of Straight Chains of Graphs