Solve word problems by finding two-variable equations