A rose garden is designed by joining a rectangle and a semicircle, as shown below. The rectangle is 24ft long and 18ft wide. If the gardener wants to build a fence around the garden, how many feet of fence are required?