In a large backyard, there are 4 times as many shrubs as trees. Altogether, there are 40 trees and shrubs. How many trees are in the yard? How many shrubs?