solving linear equations variable on both sides pdf