A particle is projected with an angle of projection θ to the horizontal line passing through the points (P,Q) and (Q,P) referred to horizontal and vertical axes (can be treated as x-axis and y-axis respectively).
The angle of projection can be given by