That seems really easy to do. Especially if you are past Algebra 2 or you have done AP Econ or whatever is the College equivalent. Actually, most of the program seem to be present in your example....