In a 100m race, A beats B by 10m and B beats C by 20m. In a 500m race by how much distance will B beat C? In racing over a distance of D at a uniform speed, A can beat B by 30 meters, B can beat C by 20 meters and A can beat C by 48 meters. What is D in meters?