if the bearing of y and x is 140degree,what is the bearing of xand y

it did not clear

Did you not simply turn around 180° ?

so ....

To find the bearing of x and y, we can use the fact that the bearing between two points is the opposite direction of the bearing between those points in the other way.

In this case, if the bearing of y and x is 140 degrees, the bearing of x and y would be 320 degrees.

To calculate this, simply add 180 degrees to the original bearing of 140 degrees:

140 degrees + 180 degrees = 320 degrees

So, the bearing of x and y is 320 degrees.