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