A function f is defined on the complex numbers by
f(z)=(a+bi)z,
where a and b are positive real numbers. This function has the property that the image of each point in the complex plane is equidistant from that point and the origin. Given that
|a+bi|=3
find a and b