The answer is D 45.
Using the distance formula and the ordered pairs (1,8) & (4,5) for the short side and ((4,5) & (17,18) for the long side.
sqrt [(x2-x2)^2 + (y2-y1)^2]
sqrt [(4-1)^2 + (5-8)^2] = sqrt [ 9 + 9 ] = sqrt (18) (short side)
sqrt [(17-4)^2 + (18-5)^1 = sqrt [169 + 169] = sqrt (338) long side
P = 2L + 2W
P = 2sqrt18 + 2sqrt 338 = 45.25 = 45