Rockville , a five-square-mile city with about 57,000 residents , according to census figures for 2005 , is about 30 minutes from the center of Washington on the Washington Metro , the rapid transit system in the city and suburbs in Maryland and Virginia .