A team is ordering sweatshirts and sweatpants for its players. Each sweatshirt costs ​$34 and each pair of sweatpants costs ​$15. Write an algebraic expression to represent the total cost if want sweatshirts and y players want sweatpants.