A building in a city has a rectangular base. The length of the base measures 60 ft less than three times the width. The perimeter of this base is 960ft. What are the dimensions of the base?