formatting a long equation