printing algebra