Andy is carpeting a recreation room 18 ft. long and 12 ft. wide. If the carpeting costs $15 persquare yard, what will be the total cost of the carpet?