A square garden has a side length of 5 meters. The owner wants to put a fence around the garden and then plant grass on the entire area inside the fence. If the cost of the fencing is $12 per meter and the cost of planting grass is $8 per square meter, what is the total cost for fencing the garden and planting the grass? Let's think step by step and output the final answer within \boxed{}.
user