The landscaper charges a rate of $40 per hour to plant trees.Amelia paid a total of $725 for the trees and for the landscaper to plant them. How many hours did it take the land scaper to plant the trees?