The perimeter(P) of the rectangle is calculated by the equation,
P = 2W + 2L
where L and W are length and width, respectively. Using the conditions given above and letting the given dimension be the width,
2(22 m) + 2L ≤ 120
Solving for W gives an answer of L ≤ 38