Determine the width of the roof
We can use the tangent to find 1/2 of the width of the roof = A
tan (24°) = 3.5 / A rearrange as
A = 3.5 /tan (24°) ≈ 7.86 m
And the width is twice this ≈ 15.7 m