P(1, 3) and R(5, 5) are the endpoints of a diagonal of the rectangle PQRS.

Which sides of the rectangle are parallel to the x-axis? To the y-axis? What is the perimeter of the rectangle?

x=4

y=2
perimeter= (2*4)+(2*2)
= 8+4
=12