The intercept made by a line on y-axis is double to the intercept made by it on x-axis and if it passes through (1,2), then its equation is