text
stringlengths
36
215
instruction_seed
stringlengths
5
160
response_seed
stringlengths
1
30
{"question": "Let c = 1.92 - -0.08. Let s = c + 0. Sort -0.2, s, -2/3 in increasing order.", "answer": "-2/3, -0.2, s"}
Let c = 1.92 - -0.08. Let s = c + 0. Sort -0.2, s, -2/3 in increasing order.
-2/3, -0.2, s
{"question": "Let j(u) = 724*u - 6513. Let y be j(9). Solve 2*p = -i + 6*p - 13, -y*i + 29 = 5*p for i.", "answer": "3"}
Let j(u) = 724*u - 6513. Let y be j(9). Solve 2*p = -i + 6*p - 13, -y*i + 29 = 5*p for i.
3
{"question": "Round 1611894.8 to the nearest 1000.", "answer": "1612000"}
Round 1611894.8 to the nearest 1000.
1612000
{"question": "Which is the closest to 0.2? (a) 0.2 (b) 53/26 (c) -3", "answer": "a"}
Which is the closest to 0.2? (a) 0.2 (b) 53/26 (c) -3
a
{"question": "Calculate prob of sequence ll when two letters picked without replacement from llll.", "answer": "1"}
Calculate prob of sequence ll when two letters picked without replacement from llll.
1
{"question": "Suppose -k - 24 - 96 = 0. Let j be k/(-25) + 2/10. Let o(y) = -y + 4*y - 2*y - j. Determine o(-7).", "answer": "-12"}
Suppose -k - 24 - 96 = 0. Let j be k/(-25) + 2/10. Let o(y) = -y + 4*y - 2*y - j. Determine o(-7).
-12
{"question": "Solve -5*o - 3*m + 152 = 154, 10 = -5*o + 5*m for o.", "answer": "-1"}
Solve -5*o - 3*m + 152 = 154, 10 = -5*o + 5*m for o.
-1
{"question": "Express (0*i**2 - 5*i**2 - 2*i**2)*(-1 + 1 + 3*i)*(3*i - i - i + (0*i + 3*i - i)*(2 + 3 - 3)) as b*i**3 + l + u*i**4 + p*i**2 + y*i and give u.", "answer": "-105"}
Express (0*i**2 - 5*i**2 - 2*i**2)*(-1 + 1 + 3*i)*(3*i - i - i + (0*i + 3*i - i)*(2 + 3 - 3)) as b*i**3 + l + u*i**4 + p*i**2 + y*i and give u.
-105
{"question": "What is the third smallest value in -4, 4/5, 24.4?", "answer": "24.4"}
What is the third smallest value in -4, 4/5, 24.4?
24.4
{"question": "Does 15 divide (-12)/42 + 1703/7 + -3?", "answer": "True"}
Does 15 divide (-12)/42 + 1703/7 + -3?
True
{"question": "Let f(s) = -6*s - 32. Let z be f(-6). Solve -5*g - 12 = 4*p, 3*p - 5*p + z = 0 for g.", "answer": "-4"}
Let f(s) = -6*s - 32. Let z be f(-6). Solve -5*g - 12 = 4*p, 3*p - 5*p + z = 0 for g.
-4
{"question": "Simplify (g*g**(-4/15))/g**(4/7)*(g*g/g**0*g)**(5/18) assuming g is positive.", "answer": "g**(209/210)"}
Simplify (g*g**(-4/15))/g**(4/7)*(g*g/g**0*g)**(5/18) assuming g is positive.
g**(209/210)
{"question": "Evaluate (-10571)/19220*(-168)/231.", "answer": "2/5"}
Evaluate (-10571)/19220*(-168)/231.
2/5
{"question": "Evaluate 429/44 + -15 - -5.", "answer": "-1/4"}
Evaluate 429/44 + -15 - -5.
-1/4
{"question": "Let p = 1251 + -62563/50. What is the common denominator of p and 93/10?", "answer": "50"}
Let p = 1251 + -62563/50. What is the common denominator of p and 93/10?
50
{"question": "Three letters picked without replacement from vsmvvvmmrvmvmsmmv. Give prob of sequence ssm.", "answer": "7/2040"}
Three letters picked without replacement from vsmvvvmmrvmvmsmmv. Give prob of sequence ssm.
7/2040
{"question": "Find the third derivative of 9048*d**3 - d**2 - 36*d - 9.", "answer": "54288"}
Find the third derivative of 9048*d**3 - d**2 - 36*d - 9.
54288
{"question": "What is 1195 to the power of 1/4, to the nearest integer?", "answer": "6"}
What is 1195 to the power of 1/4, to the nearest integer?
6
{"question": "Let v(x) = -x**2 - 2*x + 4. Let r = -4876 + 4874. Let j(w) = w**3 + w**2 + 2*w - 5. Calculate r*j(m) - 3*v(m).", "answer": "-2*m**3 + m**2 + 2*m - 2"}
Let v(x) = -x**2 - 2*x + 4. Let r = -4876 + 4874. Let j(w) = w**3 + w**2 + 2*w - 5. Calculate r*j(m) - 3*v(m).
-2*m**3 + m**2 + 2*m - 2
{"question": "Rearrange 155 - 305 - 75*t + 147 to the form m*t + n and give n.", "answer": "-3"}
Rearrange 155 - 305 - 75*t + 147 to the form m*t + n and give n.
-3
{"question": "Let q(c) = -6*c**2 + 58*c + 7. Let g(r) = -11*r**2 + 102*r + 13. Let v(d) = -3*g(d) + 5*q(d). Let m(z) = -2*z**2 + 17*z + 3. What is -4*m(n) - 3*v(n)?", "answer": "-n**2 - 20*n"}
Let q(c) = -6*c**2 + 58*c + 7. Let g(r) = -11*r**2 + 102*r + 13. Let v(d) = -3*g(d) + 5*q(d). Let m(z) = -2*z**2 + 17*z + 3. What is -4*m(n) - 3*v(n)?
-n**2 - 20*n
{"question": "Solve 3*w - 17708 = -3*z - 17816, 8*w - 4 = 12*w for z.", "answer": "-35"}
Solve 3*w - 17708 = -3*z - 17816, 8*w - 4 = 12*w for z.
-35
{"question": "Let h = 0.142 - -82.858. Let o = -47386 + 47468.926. Let l = o - h. What is l rounded to two decimal places?", "answer": "-0.07"}
Let h = 0.142 - -82.858. Let o = -47386 + 47468.926. Let l = o - h. What is l rounded to two decimal places?
-0.07
{"question": "Is 98 a factor of 9490?", "answer": "False"}
Is 98 a factor of 9490?
False
{"question": "Find c such that -c**4/5 + 355601*c**3 - 10668006*c**2/5 + 21335996*c/5 - 14223992/5 = 0.", "answer": "2, 1777999"}
Find c such that -c**4/5 + 355601*c**3 - 10668006*c**2/5 + 21335996*c/5 - 14223992/5 = 0.
2, 1777999
{"question": "Solve 4*v + 5*v = 66 + 87 for v.", "answer": "17"}
Solve 4*v + 5*v = 66 + 87 for v.
17
{"question": "Let g = 7 - 5. Suppose 5 = 3*f - 1. Solve f*t = -g*t for t.", "answer": "0"}
Let g = 7 - 5. Suppose 5 = 3*f - 1. Solve f*t = -g*t for t.
0
{"question": "Suppose 267 = 14*i - 27. Suppose 3*d = 4*s + 54947, -2*s = -i + 19. Is d a composite number?", "answer": "True"}
Suppose 267 = 14*i - 27. Suppose 3*d = 4*s + 54947, -2*s = -i + 19. Is d a composite number?
True
{"question": "Suppose 5*k - 3*o - 81 = 3, 2*k - 32 = 2*o. Which is smaller: 362/19 or k?", "answer": "k"}
Suppose 5*k - 3*o - 81 = 3, 2*k - 32 = 2*o. Which is smaller: 362/19 or k?
k
{"question": "What is prob of sequence beeu when four letters picked without replacement from ououueueuoebbouubooo?", "answer": "7/6460"}
What is prob of sequence beeu when four letters picked without replacement from ououueueuoebbouubooo?
7/6460
{"question": "What is z in z**5/2 + 136*z**4/5 + 633*z**3/10 + 47*z**2 + 52*z/5 = 0?", "answer": "-52, -1, -2/5, 0"}
What is z in z**5/2 + 136*z**4/5 + 633*z**3/10 + 47*z**2 + 52*z/5 = 0?
-52, -1, -2/5, 0
{"question": "What is 2 - -2 - 10/((-80)/(-56))?", "answer": "-3"}
What is 2 - -2 - 10/((-80)/(-56))?
-3
{"question": "Round -33915400 to the nearest 1000000.", "answer": "-34000000"}
Round -33915400 to the nearest 1000000.
-34000000
{"question": "5/4*(144/(-9))/(-4)", "answer": "5"}
5/4*(144/(-9))/(-4)
5
{"question": "Let s = 0.26 - -0.04. Let o = -20.1 + 20. Let b = o + s. Which is smaller: b or -2/7?", "answer": "-2/7"}
Let s = 0.26 - -0.04. Let o = -20.1 + 20. Let b = o + s. Which is smaller: b or -2/7?
-2/7
{"question": "1010010 (base 2) to base 3", "answer": "10001"}
1010010 (base 2) to base 3
10001
{"question": "Suppose -211937 = 2*y + 868063. What is y rounded to the nearest 100000?", "answer": "-500000"}
Suppose -211937 = 2*y + 868063. What is y rounded to the nearest 100000?
-500000
{"question": "Let w = 86 + -86.28. Let g = w - 0.72. Which is smaller: -4.4 or g?", "answer": "-4.4"}
Let w = 86 + -86.28. Let g = w - 0.72. Which is smaller: -4.4 or g?
-4.4
{"question": "Suppose 3*o - 3 = 0, 5*x = -o + 4 + 7. Suppose b + 24 = x*b. What is the remainder when 46 is divided by b?", "answer": "22"}
Suppose 3*o - 3 = 0, 5*x = -o + 4 + 7. Suppose b + 24 = x*b. What is the remainder when 46 is divided by b?
22
{"question": "Let w(f) = 38*f**3 + f**2 + f - 1. What is the units digit of w(1)?", "answer": "9"}
Let w(f) = 38*f**3 + f**2 + f - 1. What is the units digit of w(1)?
9
{"question": "Is 23419 prime?", "answer": "False"}
Is 23419 prime?
False
{"question": "Let g = 529 + -673. Is g greater than or equal to -144?", "answer": "True"}
Let g = 529 + -673. Is g greater than or equal to -144?
True
{"question": "In base 7, what is 265462050 + -4?", "answer": "265462043"}
In base 7, what is 265462050 + -4?
265462043
{"question": "What is the fifth root of 4331 to the nearest integer?", "answer": "5"}
What is the fifth root of 4331 to the nearest integer?
5
{"question": "Let j be ((-39)/65)/((-54)/(-20)). What is the closest to 1 in j, 0, -5?", "answer": "0"}
Let j be ((-39)/65)/((-54)/(-20)). What is the closest to 1 in j, 0, -5?
0
{"question": "Let v(z) = 11*z + z**3 + 0*z**2 - z**2 - 14*z + 2. Let n be v(2). Solve 6 = -3*f - n for f.", "answer": "-2"}
Let v(z) = 11*z + z**3 + 0*z**2 - z**2 - 14*z + 2. Let n be v(2). Solve 6 = -3*f - n for f.
-2
{"question": "Let t(h) = h. Let a(x) be the third derivative of 0*x**3 + 0*x + 0 + 4*x**2 - 1/24*x**4. Determine a(t(q)).", "answer": "-q"}
Let t(h) = h. Let a(x) be the third derivative of 0*x**3 + 0*x + 0 + 4*x**2 - 1/24*x**4. Determine a(t(q)).
-q
{"question": "Let f = -10148.07489 - -10147.2. What is f rounded to 2 dps?", "answer": "-0.87"}
Let f = -10148.07489 - -10147.2. What is f rounded to 2 dps?
-0.87
{"question": "Let k(g) = -2*g**2 + 3*g - g - 7*g - 12 + 4*g**2. Let m be k(4). Suppose 0 = -m*z - 3*z + 5*z. Solve -4*i + 9 = q, 4*q + 4*i - 6 - 6 = z for q.", "answer": "1"}
Let k(g) = -2*g**2 + 3*g - g - 7*g - 12 + 4*g**2. Let m be k(4). Suppose 0 = -m*z - 3*z + 5*z. Solve -4*i + 9 = q, 4*q + 4*i - 6 - 6 = z for q.
1
{"question": "Let b = -0.84 + 0.7. Let f = b - -0.04. Let u = -104 - -727/7. Sort 2/3, u, f in ascending order.", "answer": "u, f, 2/3"}
Let b = -0.84 + 0.7. Let f = b - -0.04. Let u = -104 - -727/7. Sort 2/3, u, f in ascending order.
u, f, 2/3
{"question": "Suppose 3*o - 51*r = -48*r + 8313, -3*r + 15 = 0. What is o rounded to the nearest one hundred?", "answer": "2800"}
Suppose 3*o - 51*r = -48*r + 8313, -3*r + 15 = 0. What is o rounded to the nearest one hundred?
2800
{"question": "Let x(j) = j**2 - 214*j + 5525. Let a be x(30). Let f = 10 + -6. Solve f*q - 5*q - 11 = -4*l, 5*q + a = -5*l for q.", "answer": "-3"}
Let x(j) = j**2 - 214*j + 5525. Let a be x(30). Let f = 10 + -6. Solve f*q - 5*q - 11 = -4*l, 5*q + a = -5*l for q.
-3
{"question": "Sort 163, 5, 8026, 0, -3, 2 in decreasing order.", "answer": "8026, 163, 5, 2, 0, -3"}
Sort 163, 5, 8026, 0, -3, 2 in decreasing order.
8026, 163, 5, 2, 0, -3
{"question": "What is 366 minutes after 5:34 AM?", "answer": "11:40 AM"}
What is 366 minutes after 5:34 AM?
11:40 AM
{"question": "Suppose 4*f - u + 60 = 0, 3*f = 3*u - 34 - 2. What is the common denominator of (f/(-10))/(54/255) and 7/4?", "answer": "36"}
Suppose 4*f - u + 60 = 0, 3*f = 3*u - 34 - 2. What is the common denominator of (f/(-10))/(54/255) and 7/4?
36
{"question": "What is prob of picking 1 o and 1 g when two letters picked without replacement from {o: 2, m: 1, c: 1, q: 4, g: 3, x: 4}?", "answer": "2/35"}
What is prob of picking 1 o and 1 g when two letters picked without replacement from {o: 2, m: 1, c: 1, q: 4, g: 3, x: 4}?
2/35
{"question": "Let l(x) = -3*x**3 - 58*x**2 + 49*x + 13. Give l(-20).", "answer": "-167"}
Let l(x) = -3*x**3 - 58*x**2 + 49*x + 13. Give l(-20).
-167
{"question": "Calculate -588 divided by 98.", "answer": "-6"}
Calculate -588 divided by 98.
-6
{"question": "Solve 2*w = -3*w - z + 20, -4*w - 3*z = -27 for w.", "answer": "3"}
Solve 2*w = -3*w - z + 20, -4*w - 3*z = -27 for w.
3
{"question": "127 divided by 110", "answer": "127/110"}
127 divided by 110
127/110
{"question": "What is the tens digit of 678416?", "answer": "1"}
What is the tens digit of 678416?
1
{"question": "Two letters picked without replacement from ijjiiijiiii. What is prob of sequence ji?", "answer": "12/55"}
Two letters picked without replacement from ijjiiijiiii. What is prob of sequence ji?
12/55
{"question": "Calculate (-14 - -4)/5*1.", "answer": "-2"}
Calculate (-14 - -4)/5*1.
-2
{"question": "Let v be (884/182)/(1/35). Suppose -886 = -c - v. What are the prime factors of c?", "answer": "2, 179"}
Let v be (884/182)/(1/35). Suppose -886 = -c - v. What are the prime factors of c?
2, 179
{"question": "What is the second derivative of 207*m**4 - 7467*m**2 + 3509188*m?", "answer": "2484*m**2 - 14934"}
What is the second derivative of 207*m**4 - 7467*m**2 + 3509188*m?
2484*m**2 - 14934
{"question": "Let v(o) = -4*o + 29. Let u be v(7). Solve 3*n + u = 13 for n.", "answer": "4"}
Let v(o) = -4*o + 29. Let u be v(7). Solve 3*n + u = 13 for n.
4
{"question": "What is the next term in -2582, -5393, -8198, -10997, -13790, -16577, -19358?", "answer": "-22133"}
What is the next term in -2582, -5393, -8198, -10997, -13790, -16577, -19358?
-22133
{"question": "Let v(b) = -b - 11 + 11. Let l(j) = 6007*j - 9*j**2 - 6007*j. What is v(l(q))?", "answer": "9*q**2"}
Let v(b) = -b - 11 + 11. Let l(j) = 6007*j - 9*j**2 - 6007*j. What is v(l(q))?
9*q**2
{"question": "Simplify ((2*(sqrt(175) + 0 + sqrt(175) - sqrt(175)) + sqrt(175))*5)**2 + (4 + (sqrt(28)/(-1*sqrt(4)))**2)*1.", "answer": "39386"}
Simplify ((2*(sqrt(175) + 0 + sqrt(175) - sqrt(175)) + sqrt(175))*5)**2 + (4 + (sqrt(28)/(-1*sqrt(4)))**2)*1.
39386
{"question": "What are the prime factors of 86707?", "answer": "31, 2797"}
What are the prime factors of 86707?
31, 2797
{"question": "Which is the nearest to 1? (a) -2/7 (b) 101 (c) -2/17", "answer": "c"}
Which is the nearest to 1? (a) -2/7 (b) 101 (c) -2/17
c
{"question": "Sort -386, 0, -3.", "answer": "-386, -3, 0"}
Sort -386, 0, -3.
-386, -3, 0
{"question": "Suppose 0 = 2*s - 4*v - 484, -10*s + 5*s + 1175 = -3*v. Is s a multiple of 58?", "answer": "True"}
Suppose 0 = 2*s - 4*v - 484, -10*s + 5*s + 1175 = -3*v. Is s a multiple of 58?
True
{"question": "Simplify (y**(-2/11)/(y**(-4/7)/y*y))/((y*y**9)/(y*y*y/(y/y**(4/5)*y))) assuming y is positive.", "answer": "y**(-3007/385)"}
Simplify (y**(-2/11)/(y**(-4/7)/y*y))/((y*y**9)/(y*y*y/(y/y**(4/5)*y))) assuming y is positive.
y**(-3007/385)
{"question": "What are the prime factors of 89141?", "answer": "13, 6857"}
What are the prime factors of 89141?
13, 6857
{"question": "Suppose -34 = -14*b + 50. Suppose 2*j - 44 = -b*o + 2*o, j = 5*o + 1. Is 10 a factor of j/(-1)*25/(-20)?", "answer": "True"}
Suppose -34 = -14*b + 50. Suppose 2*j - 44 = -b*o + 2*o, j = 5*o + 1. Is 10 a factor of j/(-1)*25/(-20)?
True
{"question": "Which is smaller: -3/2991317 or 0?", "answer": "-3/2991317"}
Which is smaller: -3/2991317 or 0?
-3/2991317
{"question": "Suppose 0 = -3*k + 2*k + 1, -4*s - 4*k + 212 = 0. Is 53 smaller than s?", "answer": "False"}
Suppose 0 = -3*k + 2*k + 1, -4*s - 4*k + 212 = 0. Is 53 smaller than s?
False
{"question": "Simplify 1 + -6*((sqrt(1088) + (sqrt(1088) - (sqrt(1088) + 1)) - sqrt(1088)) + sqrt(1088) + 4).", "answer": "-48*sqrt(17) - 17"}
Simplify 1 + -6*((sqrt(1088) + (sqrt(1088) - (sqrt(1088) + 1)) - sqrt(1088)) + sqrt(1088) + 4).
-48*sqrt(17) - 17
{"question": "What is 0.21 times -669?", "answer": "-140.49"}
What is 0.21 times -669?
-140.49
{"question": "Express ((-4*b + 3*b - b)*(-1 - 2 + 2) - b + 4 - 4)*((5 - 2 + 0)*(0 + 3 - 4) - 4 + 1 + 5) as c*b + s and give c.", "answer": "-1"}
Express ((-4*b + 3*b - b)*(-1 - 2 + 2) - b + 4 - 4)*((5 - 2 + 0)*(0 + 3 - 4) - 4 + 1 + 5) as c*b + s and give c.
-1
{"question": "Suppose -23 = 2*k - 5. Let z(n) = -n**3 - 7*n**2 + 3*n + 2. What are the prime factors of z(k)?", "answer": "137"}
Suppose -23 = 2*k - 5. Let z(n) = -n**3 - 7*n**2 + 3*n + 2. What are the prime factors of z(k)?
137
{"question": "What is the tens digit of 3122?", "answer": "2"}
What is the tens digit of 3122?
2
{"question": "Let t = 22 - 2. Let h = -178 - -179. Let z(y) = 31*y - 26. Calculate the remainder when t is divided by z(h).", "answer": "0"}
Let t = 22 - 2. Let h = -178 - -179. Let z(y) = 31*y - 26. Calculate the remainder when t is divided by z(h).
0
{"question": "Let h = 133 + -69. Let g be h/80 + (-743992)/(-10). Round g to the nearest one thousand.", "answer": "74000"}
Let h = 133 + -69. Let g be h/80 + (-743992)/(-10). Round g to the nearest one thousand.
74000
{"question": "What is the greatest common divisor of 1026180 and 180?", "answer": "180"}
What is the greatest common divisor of 1026180 and 180?
180
{"question": "Let w = -2619 - -2618.7. What is the second smallest value in 1, 2/223, w?", "answer": "2/223"}
Let w = -2619 - -2618.7. What is the second smallest value in 1, 2/223, w?
2/223
{"question": "Find the second derivative of -8731*m**3 - 2331*m**2 + 179614535*m wrt m.", "answer": "-52386*m - 4662"}
Find the second derivative of -8731*m**3 - 2331*m**2 + 179614535*m wrt m.
-52386*m - 4662
{"question": "Suppose -5*w + 3*m + 244844 = 0, -3*w + 4*m + 146913 = -0*w. Is w prime?", "answer": "False"}
Suppose -5*w + 3*m + 244844 = 0, -3*w + 4*m + 146913 = -0*w. Is w prime?
False
{"question": "Calculate the smallest common multiple of 56595698 and 34.", "answer": "962126866"}
Calculate the smallest common multiple of 56595698 and 34.
962126866
{"question": "Suppose -3*b - 16 - 8 = -4*u, 3*u - 17 = 2*b. What is the third derivative of 67*k**3 - 80*k**3 - 44*k**3 - 8*k**u - 68*k**3 + 105*k**2 wrt k?", "answer": "-798"}
Suppose -3*b - 16 - 8 = -4*u, 3*u - 17 = 2*b. What is the third derivative of 67*k**3 - 80*k**3 - 44*k**3 - 8*k**u - 68*k**3 + 105*k**2 wrt k?
-798
{"question": "How many tonnes are there in 0.4976359g?", "answer": "0.0000004976359"}
How many tonnes are there in 0.4976359g?
0.0000004976359
{"question": "Let x(v) = -24*v**2 + 30*v - 152. Let m be x(13). Is -3819 at most m?", "answer": "True"}
Let x(v) = -24*v**2 + 30*v - 152. Let m be x(13). Is -3819 at most m?
True
{"question": "Two letters picked without replacement from tyetttbbeybbb. Give prob of sequence be.", "answer": "5/78"}
Two letters picked without replacement from tyetttbbeybbb. Give prob of sequence be.
5/78
{"question": "Is 15489497 prime?", "answer": "True"}
Is 15489497 prime?
True
{"question": "Is -6617 > -6616?", "answer": "False"}
Is -6617 > -6616?
False
{"question": "Let f = -62 + 26. Let s = 78 + f. List the prime factors of s.", "answer": "2, 3, 7"}
Let f = -62 + 26. Let s = 78 + f. List the prime factors of s.
2, 3, 7
{"question": "Let k(f) = 5*f**2 + 15*f - 15. Let a(t) = -t + 1. Give -30*a(w) - 2*k(w).", "answer": "-10*w**2"}
Let k(f) = 5*f**2 + 15*f - 15. Let a(t) = -t + 1. Give -30*a(w) - 2*k(w).
-10*w**2
{"question": "What is the greatest common divisor of 611 and 13?", "answer": "13"}
What is the greatest common divisor of 611 and 13?
13
{"question": "Let g(n) be the second derivative of 0 - 1/3*n**3 + 3*n**2 + 4*n. Let b = 8 + -4. Determine g(b).", "answer": "-2"}
Let g(n) be the second derivative of 0 - 1/3*n**3 + 3*n**2 + 4*n. Let b = 8 + -4. Determine g(b).
-2