Given:
Joey has a rectangular garden
The garden has a length = L = 9 feet
And a width = W = 7 feet
To fence the garden, we need to calculate the perimeter
so, perimeter of the garden = p = 2 ( Length + width )
so,

To find the amount of soil, we need to calculate the area of the rectangle:
Area = A = Lenth x Width

so, the answer will be:
Joey calculated he needs 32 feet of fencing to close in the garden and 63 square feet of soil to cover the garden.