Math simplification tricks