A trough is filled with water. The trough holds 315 gallons. Each cubic foot of water contains about 7.5 gallons. The trough is 7 feet long and 4 feet wide. What is the height of the trough?