how would we find the coordinates of P on this graph? im having trouble solving tan(x) = √3cos(x)?
Just gonna go ahead and assume you know that the curve that cuts through the origin is tan and the other one is the other one

 \\ \sqrt2\sin^2x+\sin x -\sqrt2=0)
Using the quadratic formula you get that:

Since the first solution is out of the bounds of the function sin x, theres only one solution, which is:

Sub it into either tan x or root 2 cos x and you have your answer, which should be (pi/4, 1)
EDIT:
im still very confused about this....could you please elaborate?
thanks in advance
Since every derivative has a corresponding integral, eg like you differentiate something, integrate it back, and you get the same thing plus a constant. So basically what SRK's done there is just manipulated the integral given so it looks a little like the derivative of the thing you were given in part a. Since there was a +2 in the derivative, but everything remains the same, he just adds two to get the same thing, then subtracts two to keep the integral the same. From there, he uses the thing I first talked about, going straight to the thing you were asked to differentiate in part a), minus the 2x added on when manipulating the equation. So you've found the integral of the thing in part b, and with boundaries you should be able to solve from there.