please solve (thank you)

sin 40° / x = sin 90° / 35
x = (sin 40° x 35) / sin 90°
x = 22.498 m