Find the locus of a point which moves such that its distance from the origin is three times its distance from x-axis.