Rectangular pyramids

Is the sum of the squares of two opposite sloping edges of a rectangular based pyramid equal to the sum of the squares of the other two sloping edges?

Problem

 

Is it true that $p^2+q^2=s^2+r^2$ when:
 
  • the rectangle $ABCD$ and the point $V$ are in the same plane? (Working in 2D).

     
  • $ABCD$ represents a pyramid, with vertex $V$, on a rectangular base $ABCD$? (Working in 3D).
Image
Rectangular Pyramids