Please reason step by step, and put your final answer within \boxed{}.
Given the polar equation of a curve is $\rho = 2\sin \theta + 4\cos \theta$, establish a Cartesian coordinate system with the pole as the origin and the polar axis as the positive x-axis. Find the rectangular coordinate equation of this curve.
user