Respuesta :

R = (p,p)

S = (p,0)

Since the shape is a square, each side should have the same length, P.