Answer
Please see the work below.
Work Step by Step
We know that according to law of conservation of energy
$(\frac{1}{2})kx^2=\mu m\space g\space d$
This simplifies to:
$d=\frac{kx^2}{2\mu\space m\space g}$
We plug in the known values to obtain:
$d=\frac{(340)(0.18)^2}{(2)(0.27)(1.5)(9.8)}=1.4m$