Hi Niya,
I thought I had answered this already.
you should use sin=opp/hypotenuse trigonometric relationship
sin 39= 25.5/ hypotenuse
using this, you can find hypotenuse which is the length of the support beam.
Imp tip: make sure to set your calculator to degrees mode!
hope this helps