Charles has a square flowers garden that has a side length of 12 yards. He is planning to fertilize his garden for the upcoming season. One bag of fertilizer can cover 6 yards. How many bags will he need to buy to over the entire garden