question
stringclasses
8 values
answer
int64
5
39
equations_variables
stringclasses
8 values
variables_answer
stringclasses
8 values
target_variable
stringclasses
8 values
var2symb
stringclasses
8 values
symbolic_equations
stringclasses
8 values
target_variable_symbolic
stringclasses
4 values
symbolic_answer
stringclasses
8 values
Question: Roger has 5 tennis balls. He buys 2 more cans of tennis balls. Each can has 3 tennis balls. How many tennis balls does he have now?
11
num_tennis_balls = 5 num_cans = 2 num_balls_per_can = 3 total_tennis_balls = num_tennis_balls + (num_cans * num_balls_per_can) Therefore, total_tennis_balls =
Step-by-Step Answer: total_tennis_balls = num_tennis_balls + (num_cans * num_balls_per_can) = 5 + (2*3) = 5 + 6 = 11 Therefore, total_tennis_balls = 11
total_tennis_balls
{'num_tennis_balls': 'x', 'num_cans': 'y', 'total_tennis_balls': 'z', 'total_tennis_balls': 'l', 'num_balls_per_can': 'm'}
x = 5 y = 2 m = 3 l = x + (y * m) Therefore, z =
z
Step-by-Step Answer: l = x + (y * m) = 5 + (2*3) = 5 + 6 = 11 z = 11
Question: There were nine computers in the server room. Five more computers were installed each day, from monday to thursday. How many computers are now in the server room?
29
num_computers = 9 num_days = 4 num_computers_per_day = 5 total_computers = num_computers + (num_days * num_computers_per_day) Therefore, total_computers =
Step-by-Step Answer: total_computers = num_computers + (num_days * num_computers_per_day) = 9 + (4*5) = 9 + 20 = 29 Therefore, total_computers = 29
total_computers
{'num_days': 'x', 'num_computers': 'y', 'total_computers': 'z', 'num_computers_per_day': 'l'}
y = 9 x = 4 l = 5 z = y + (x * l) Therefore, z =
m
Step-by-Step Answer: m = y + (x * l) = 9 + (4*5) = 9 + 20 = 29 z = 29
Question: Leah had 32 chocolates and her sister had 42. If they ate 35, how many pieces do they have left in total?
39
num_chocolates_leah = 32 num_chocolates_sister = 42 num_chocolates_eaten = 35 total_chocolates = num_chocolates_leah + num_chocolates_sister - num_chocolates_eaten Therefore, total_chocolates =
Step-by-Step Answer: total_chocolates = num_chocolates_leah + num_chocolates_sister - num_chocolates_eaten = 32 + 42 - 35 = 39 Therefore, total_chocolates = 39
total_chocolates
{'num_chocolates_leah': 'x', 'total_chocolates': 'y', 'num_chocolates_sister': 'z', 'num_chocolates_eaten': 'l'}
x = 32 z = 42 l = 35 y = x + z - l Therefore, y =
y
Step-by-Step Answer: y = x + z - l = 32 + 42 - 35 = 39 Therefore, y = 39
Question: Shawn has five toys. For Christmas, he got two toys each from his mom and dad. How many toys does he have now?
9
num_toys = 5. num_toys_from_mom = 2. num_toys_from_dad = 2. total_toys = num_toys + num_toys_from_mom + num_toys_from_dad. Therefore, total_toys =
Step-by-Step Answer: total_toys = num_toys + num_toys_from_mom + num_toys_from_dad = 5 + 2 + 2 = 9 Therefore, total_toys = 9
total_toys
{'num_toys_from_mom': 'x', 'num_toys_from_dad': 'y', 'total_toys': 'z', 'Therefore, total_toys': 'l', 'num_toys': 'm'}
m = 5. x = 2. y = 2. z = m + x + y. Therefore, z =
z
Step-by-Step Answer: z = m + x + y = 5 + 2 + 2 = 9 Therefore, z = 9
Question: Michael had 58 golf balls. On tuesday, he lost 23 golf balls. On wednesday, he lost 2 more. How many golf balls did he have at the end of wednesday?
33
num_golf_balls = 58. num_lost_tuesday = 23. num_lost_wednesday = 2. total_golf_balls = num_golf_balls - (num_lost_tuesday + num_lost_wednesday). Therefore, total_golf_balls =
Step-by-Step Answer: total_golf_balls = num_golf_balls - (num_lost_tuesday + num_lost_wednesday) = 58 - (23 + 2) = 58 - 25 = 33 Therefore, total_golf_balls = 33
total_golf_balls
{'total_golf_balls': 'x', 'num_golf_balls': 'y', 'num_lost_wednesday': 'z', 'num_lost_tuesday': 'm'}
y = 58. m = 23. z = 2. x = y - (m + z). Therefore, x =
x
Step-by-Step Answer: x = y - (m + z) = 58 - (23 + 2) = 58 - 25 = 33 Therefore, x = 33
Question: Olivia has $23. She bought five bagels for $3 each. How much money does she have left?
8
num_initial_money = 23 num_bagels = 5 cost_per_bagel = 3 total_cost = num_bagels * cost_per_bagel money_left = num_initial_money - total_cost Therefore, money_left =
Step-by-Step Answer: total_cost = 5 * 3 = 15 money_left = num_initial_money - total_cost = 23 - 15 = 8 Therefore, money_left = 8
money_left
{'money_left': 'x', 'cost_per_bagel': 'z', 'num_bagels': 'l', 'num_initial_money': 'm', 'total_cost': 'n'}
m = 23 l = 5 z = 3 n = l * z x = m - n Therefore, x =
x
Step-by-Step Answer: n = 5 * 3 = 15 x = m - n = 23 - 15 = 8 Therefore, x = 8
Question: Jason had 20 lollipops. He gave Denny some lollipops. Now Jason has 12 lollipops. How many lollipops did Jason give to Denny?
8
num_lollipops_initial = 20. num_lollipops_after = 12. lollipops_given_to_denny = num_lollipops_initial - num_lollipops_after. Therefore, lollipops_given_to_denny =
Step-by-Step Answer: lollipops_given_to_denny = num_lollipops_initial - num_lollipops_after = 8 Therefore, lollipops_given_to_denny = 8
lollipops_given_to_denny
{'lollipops_given_to_denny': 'x', 'num_lollipops_after': 'y', 'num_lollipops_initial': 'z'}
z = 20. y = 12. x = z - y. Therefore, x =
x
Step-by-Step Answer: x = z - y = 8 Therefore, x = 8
Question: If there are 3 cars in the parking lot and 2 more cars arrive, how many cars are in the parking lot?
5
num_cars = 3. num_arriving_cars = 2. total_cars = num_cars + num_arriving_cars. Therefore, total_cars =
Step-by-Step Answer: total_cars = num_cars + num_arriving_cars = 5 Therefore, total_cars = 5
total_cars
{'num_cars': 'x', 'total_cars': 'z', 'num_arriving_cars': 'l'}
x = 3. l = 2. z = x + l. Therefore, z =
z
Step-by-Step Answer: z = x + l = 5 y = 5