I really need help with this
The Trailblazer Diner serves hotdog plates for $4.50 each and hamburger plates for $6. If 512 students bought lunch from the diner and the total revenue from the sale of the plates was $2,580, then how many hotdog plates were sold, and how many hamburger plates were sold?