As the path is 3ft wide, then to fence the garden and path we have to calculate the perimeter of the red rectangle, which can be done with the following formula:

where P is the perimeter, b is the base and h is the height. In our case, we have to calculate these parameters for the red rectangle:


Now, we can replace these values in the formula of P:



Answer: 178m