Since there are 3 lines (triangle), perimeter is simply the sum of those sides
find each side using distance (d) formula:
where two points of the line lie at (x1, y1) and (x2, y2)
let's name the points of our triangle to make it easier: A = (8, 2), B = (8, 6), C = (6, 6)
So now for P add AB + BC + AC = 4+2+4.47
P = 10.47 units squared