That is very ambiguous. Following is a quote from Wiki:
US Army Definition Of Bearing The US Army defines the
bearing from Point A to Point B as the angle between: either a north, south, east, or west
ray, whose origin is Point A and Ray AB, the ray whose origin is Point A and which contains Point B.
The bearing consists of 2 characters and 1 number: first, the character representing the reference ray (N, or S); followed by the angle value; and finally the character representing the direction of the angle from the reference ray (E, or W). The angle value will always be less than 90 degrees.
[2][3] For example, if Point B is located exactly southeast of Point A, the bearing from Point A to Point B is S 45° E.
[3]
The US Army defines the
azimuth between Point A and Point B as the angle, measured in the clockwise direction, between the north reference ray and Ray AB. For example, if the bearing between Point A and Point B is E 45° S, the azimuth between Point A and Point B is 135°.
[2][3]
The angle value in a bearing can be specified in the units of
degrees,
mils, or
grad. An azimuth is specified in the same angle units.
[4]
You can see from above that your problem is ill-defined.
Also for degrees - you generally assume it will be from x-axis (generally drawn EW direction) and measured in counter-clockwise (CCW) direction.
This is why picture is worth thousand words and sketch of the problem becomes important.