You can put this solution on YOUR website! use the law of sines to
side b= 40cm
angle A=120
angle C=58
--------------------
angle B = 180-(58+120) = 2 degrees
---------------------------------------
Solve a/sin(120) = 40/sin(2)
----
Solve c/sin(58) = 40/sin(2)
===============================
Cheers,
Stan H.