Two times the width of a certain rectangle exceeds its length by three inches, and eight times its length is twelve more than its perimeter. Find the width of the rectangle.