Question 2
On a blank sheet of paper, perpendicular coordinate axes $x,y$ with equal scales were drawn and the graph $y=f(x)$ was plotted. The marks on the $x$-axis and the entire $y$-axis were then erased. Using only pencil, straightedge and compass, reconstruct the $y$-axis when (a) $f(x)=3^x$; (b) $f(x)=\log_a x$, where the unknown constant satisfies $a>1$. (4+4 points)

Neutral editorial illustration.

Neutral editorial illustration.