Sorry, my previous answer was wrong. Here is the new one:
Since we know A=l*w
Therefore, l=A/w
Then, we can use the equations they gave us and divide the area equation by the width equation, which would give us 3x. Therefore, the length would be 3x