Solve linear equations with brackets (#283)