i need to find the potential of some F=Pi+Qj+Rk field .

BY DEFINITION

dU/dx=p

so i am integrating and i am getting a constant which is indenedant of x

its C'(y,z)

then i am deferentiating the result by y and compare it to Q

then i find the C(y,z) expression

then i dont know how to involve it with R to get the final formuma