What is the value of x km trying to help a friend

Answer:
3x +45°=180° (due to straight angle)
or, 3x= 180°-45°
or,3x= 135°
or,X=135°/3
X =45°.ans