math equation for good writing