Mrs. Aster wants to plant a vegetable garden on a plot of land that is on the shape of a rectangle. The length of the garden is 12 feet and the area is 96 square feet. It costs $17.31 per linear foot to install a fence. If the gate is 3 feet wide and costs $129.89, what is the total cost of the fencing in the garden?
A. $147.20
B. $597.39
C. $770.36
D. $821.29