Azimuth

Azimuth

Hi does anyone have a formula or have the solution on how to get the right Azimuth value everytime? We've been doing trial and error for days now and still have no luck getting it correctly.
Thanks in advance.