This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] The position of the origin relative to the point $(2,-3)$ is $\vec r=(-2,3,0)$. $\vec\tau=\vec r\times\vec F=(-2,3,0)\times(0,0,-P)=P(-3\hat i-2\hat j)$. So $a=-3$, $b=-2$ and $\frac ab=\frac32=\frac x2\Rightarrow x=3$. Answer: 3.