The two corner points of a square
lie on curve f(x)= x^2 −2x−3 and
the other two corner points lie on
curve g(x)= −x^2 +2x+3 . It is known
that the area of a square can be
expressed by p+q(√r) , for a natural
number p,q ,r where r is not divisible
by any perfect square number other 1.
The value of p+q+r =?