Kaitlyn bakes two rectangular cakes to put on top of each other. Each cake is 6 inches wide, 12 inches long and 3 inches high. She removes the cake from the pan to frost it. How many square inches of frosting does she need for both cakes?