The Solution.
Representing the problem in a diagram, we get
To find the length of the boundaries of the fence, we shall use the formula below:

Substituting these values in the formula, we get

We were told that each foot cost $21.
So, the cost of the fence is

Therefore, the correct answer is $190