(x1, y1) = (0, 0), (x2, y2) = (5, 2), P = 14, S = 10