Similar rectangles

Can you find the missing length?

Problem



The smaller of two similar rectangles has height $2$ units; the larger rectangle has length $6$ units.

If one rectangle has twice the area of the other, find the length of the smaller rectangle.

This problem is taken from Tony Gardiner's 'Extension Mathematics Gamma' book.