The number of houses that can be served by a water pipe varies directly as the square of the diameter of the pipe. A water pipe that has a 10-centimeter diameter can supply 40 houses.
a. How many houses can be served by a water pipe that has a 5050-centimeterdiameter?
b. What size of water pipe is needed for a new subdivision of 2560 houses?