An NBA basketball court is rectangular in shape where the length is 2m less than twice the width. If the perimeter of the court is 86m, what are the dimensions (length and width) of the court?