Prove the sine rule for a triangle ABC by drawing AD perpendicular to BC meeting BC at D. Consider two cases (a) B acute (b) B obtuse.

I managed to prove the

but i can't prove that that is equal to

i cant do part (b).

and

but i can't find such an equation for A.

Thanks for any help.