how do i make p the subject of the formula

q=5/3+p

You need to isolate P from the rest.

Basically you do opposite operations to isolate a variable.

In this case, subtract 5/3 on both sides:

then P = q - 5/3