After visiting the Titanic, Captain Brain and Mr. Pinky are taking the Alvin submarine back to the surface of the water. They start 1700 feet under water. After ascending for 6 hours, they are 1580 feet below the surface of the water. (Note: under the water is negative)

Write an equation to model this situation (use d for depth in meters and x for hours).