Using a TI-83 emulator and graphing the function I confirm what drewteam says about the answer to the 2nd part. It was about 1994.
Hit the Y= button and enter the formula.
Hit the 'Window' button and change the graph to show min X = 0, max X = 10, min Y = 0, max y = 25, hit graph, then trace, move the cursor around and you'll see it hit 21 on the Y coordinates just after you get beyond 3 on X.