The hardware store sells copper pipes for $24 per 5 feet right? so, 5 feet is equal to 60 inches and since you need 6 inches, you divide 60 by 10 to get 6 and also divide 24 by ten and you get 2.4, so the answer is $2.4 for 6 inches of pipe.
Hope this helps!