How can I generate a total cost using drop down menus?