For a rectangle, the perimeter can be calculated as P=2l+2w. Assuming the length is horizontal and the width is vertical, the span between the x coordinates will give the length, while the span between the y coordinates will determine the width. Once these measurements are obtained, you can apply them to the perimeter formula. |7 -(-7)| = 14 gives l = 14, |5-(-2)| = 7 gives w=7. Therefore, P=2(14)+2(7), which results in P= 28+14, thus, P= 42.