The perimeter of a basketball court is 84 meters and the length is 6 meters longer than twice the width. what are the length and​ width?