For this case we have to define trigonometric relations of rectangular triangles that the sine of an angle is given by the leg opposite the angle on the hypotenuse of the triangle. That is to say:
Since we aren't told the length of the 3rd bar, focus solely on the lengths of the first 2 bars. Add together their lengths: 1.15 cm + 3.92 cm = 5.07 cm.