Using the end points of the sides (X1, Y1) and (X2, Y2), use the distance formula, (y2-y1)^2 + (x2 -x1)^2 all under radical, whatever you get is the lenght of the side. This way find all the lenghts and add them up to get the perimeter. Hope it helped !