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