You set a usual OXYZ reference system, with origin at point P, and note that the coordinates of point Q are: Q(0,8,-8), and the vector position corresponding to point Q, remains:
r = PQ = <8,-8,0>
Then, note that the components of the force applied at point Q are:
F = <50sin(40º), -50cos(40º)...