5+2P=10-2P
im assuming here that 5+2P is 10, so we can use that for our find what equals P situation
(besides, its easier for me 5+2P than 10-2P)
$${\mathtt{5}}{\mathtt{\,\small\textbf+\,}}{\mathtt{2}}{\mathtt{\,\times\,}}{\mathtt{P}} = {\mathtt{10}}$$
We can subtract 5-5 and 10-5, equaling:
$${\mathtt{2}}{\mathtt{\,\times\,}}{\mathtt{P}} = {\mathtt{5}}$$
We divide 2 on both 2P and 5, and P=2.5
overall answer: $${\mathtt{P}} = {\mathtt{2.5}}$$
.