A farmer wants to fence a section of land for a horse pasture. Fencing costs $27 per yard. How much will it cost to fence the pasture?