Linear equations with single variable