In Stewart's calculus book he asks about the magnitude of the torque of $F$ applied on $P$. The formula given in the book is $|\tau|=|\vec{r}\times \vec{F}|=|\vec{r}||\vec{F}|\sin\theta$. So my guess is the only important component in $\vec F$ is the perpendicular one to the axis of rotation, than the torque in this case is $\tau=240\cdot\sin30\cdot2$.
So the other $2m$ (the stick perpendicular to the axis of rotation) doesn't play any import role here?


Draw $\vec r$ into the diagram. That will make everything much easier to see.
The vector $\vec r$ goes from $P$ to where the force is applied. Pythagoras tells us immediately that $|\vec r| = 2\sqrt2\,m$. Also, the angle between $\vec r$ and $\vec F$ is found to be $45^\circ + 60^\circ = 105^\circ$ (or, more immediately visible, the angle between $-\vec r$ and $\vec F$ is seen to be $45^\circ + 30^\circ = 75^\circ$).