For the first part draw the graph of $\sin x$, draw the line segment joining the origin to the point $(\pi/2, 1)$ and draw the line $y=x$.

For the second part draw the graph of $\tan x$ and draw straight line segments joining the origin to the points $(a, \tan a)$ and $(b, \tan b)$.