Solve word problems involving two-variable equations