Clean up the third equation a bit