A painter is working on a canvas that has a total area of 338 square inches. The canvas is x inches wide and twice as long as it is wide. Find the value of x.

A) 13
B) 18.4
C) 112.7
D) 69