What is the relationship between the age of rocks on the ocean floor and the distance from the Mid-Atlantic ridge?

The farther away the rocks are, the older they are. When the lava bubbles up from the ridge, the tectonic plates move outward. As the process repeates itself and new lava comes up, the rocks are pushed farther and father away. As a result, the closest rocks are the newest, and the farthest rocks are the oldest!