Solve arithmetic sequence problems involving simultaneous equations (#428)