we know that
YZ=RV+VQ ----> by addition segments postulate
substitute given values
30=RV+15
so
RV=30-15=15 ft
that means
Point V is the midpoint of the segment RQ
triangle RPQ is an isosceles triangle
mFind out the value of angle x
tan(x)=4/15 ------> by TOA
x=tan^-1(4/15)
x=14.93 degrees
The angle x is not between 18 - 27
therefore
The roof Is not safe