Shawna and her best friend Keisha go shopping. The function p(t) = 3x +2x-4x2+ 21 represents how much money each girl spent based on the number of hours they were shopping. If Shawna and Keisha each go shopping for 2 hours, how much money did they spend together?