A farmer is planting two types of crops, corn and soybeans. Each acre of corn requires hours of labor to plant and yields bushels. Each acre of soybeans requires hours of labor to plant and yields bushels. The farmer has a total of hours of labor available for planting and wants to plant acres of corn and acres of soybeans. If the farmer plants acres of corn, what is the maximum total number of bushels of corn and soybeans the farmer can yield?