You wasting your time with maths... AOB is a visually learned 'art'.
More importantly is that your sub course is calculated via ..
:- Scope Bearing + Target AOB = 90.
To practise.. use the map editor and make a ship pass you with 'noob' crews, so that you can keep your scope up.