Apple trees cost $ 30 each, and cherry trees cost $ 40 each. Rohan has $ 600 to spend on fruit trees.
a) Let x represent the number of apple trees purchased, and let y represent the number of cherry trees purchased.
b) Write an equation that illustrates the different ways Rohan can purchase apple trees and cherry trees and spend exactly $ 600 .
Equation: