At a local pizza place, the cost for 3 small pizzas and 3 medium pizzas is $51 The cost for 5 small and 2 medium is $55 How much will it cost for 3 small and 2 medium pizzas?