A landscaper charges for their services based on the type of work performed. For tree trimming, they charge $35 per hour, and for garden design, they charge $50 per hour. If the landscaper worked a total of 40 hours last week and earned a total of $1700, which equation represents the total earnings based on hours of tree trimming and hours of garden design?