when doing formula p=2L+2w how do you do the problem L=2meters and w=1/2 meters and p=?

P = (2 * 2) + (2 * 1/2)

P = 4 + 1

P = 5 meters