Ответ:

S=1/2*ab*sinY

2S/sin(Y)=ab

a=2S/b/sin(Y)