You can
put this solution on YOUR website!
The coordinates of P are (6,-8).
AO = 6 units and AP = -8 units
From Pythagorus' theorem in rightangled triangle OAP,

or

or

or

or

So, OP = 10 units
Now, cos θ = cos(< AOP) =

=

=
Note:
sin θ = sin(< AOP) =

=

=

and tan θ = tan(< AOP) =

=

=