An office table consists of a rectangle 2 meters long by 1.5 meters wide and a semicircle 2 meters in diameter. What is the perimeter P of the table?