find the resultant of the two displacements: 2.0 m at 40degrees and 4.0 m at 127degrees, the angles being taken relative to the x-axis.

2 at 40 deg above x axis

4 at (180-127 ) or 53 degrees above negative x axis
x component = 2 cos 40 - 4 cos 53
y component = 2 sin 40 + 4 sin 53
tan resultant = y component / x component (in quadrant 2)
magnitude = sqrt [ xcomp^2 + ycomp^2 ]