Symbolic algebra homework assigment