Which is not a valid way to determine the perimeter of a rectangle with side lengths of 18 inches and 22 inches?

P = 2(18) + 2(22)

P = 18 + 22 + 18 + 22

P = 2(18 + 22)

P = 2(18) + 22