The perimeter of a rectangular is 86 m. If the width were doubled and the length were increased by 22 m, the perimeter would be 166 m. What are the length and width of the rectangle?

The perimeter of a rectangular is 86 m. If the width were doubled and the length were increased by 22 m, the perimeter would be 166 m. What are the length and width of the rectangle?