text
stringlengths
36
215
instruction_seed
stringlengths
5
160
response_seed
stringlengths
1
30
{"question": "Which is greater: -1906821 or -1907105?", "answer": "-1906821"}
Which is greater: -1906821 or -1907105?
-1906821
{"question": "Suppose -17*a + 55*a - 96900 = 0. Let u = a + 1237. Is u a prime number?", "answer": "False"}
Suppose -17*a + 55*a - 96900 = 0. Let u = a + 1237. Is u a prime number?
False
{"question": "Two letters picked without replacement from nnnttttnnntnlnlttytn. Give prob of picking 1 t and 1 n.", "answer": "36/95"}
Two letters picked without replacement from nnnttttnnntnlnlttytn. Give prob of picking 1 t and 1 n.
36/95
{"question": "Suppose -y - 4 = 0, -x = 2*y + y + 6. Let t(v) = 4*v + 160. What is the remainder when t(-36) is divided by x?", "answer": "4"}
Suppose -y - 4 = 0, -x = 2*y + y + 6. Let t(v) = 4*v + 160. What is the remainder when t(-36) is divided by x?
4
{"question": "Round -399344 to the nearest ten thousand.", "answer": "-400000"}
Round -399344 to the nearest ten thousand.
-400000
{"question": "Which is the nearest to -2? (a) 4 (b) -43/2 (c) -10", "answer": "a"}
Which is the nearest to -2? (a) 4 (b) -43/2 (c) -10
a
{"question": "Collect the terms in -2 + a**3 + 0 - 79*a + 3.", "answer": "a**3 - 79*a + 1"}
Collect the terms in -2 + a**3 + 0 - 79*a + 3.
a**3 - 79*a + 1
{"question": "Solve 171*x**4 - 8202*x**3 + 128817*x**2 - 658266*x - 23256 = 0.", "answer": "-2/57, 12, 17, 19"}
Solve 171*x**4 - 8202*x**3 + 128817*x**2 - 658266*x - 23256 = 0.
-2/57, 12, 17, 19
{"question": "Let d be (-3)/9*(-19 + 7). Let n be (d + 1)*10/25. Solve n*z + 5*v - 40 = 7*z, z + 2*v - 4 = 0 for z.", "answer": "-4"}
Let d be (-3)/9*(-19 + 7). Let n be (d + 1)*10/25. Solve n*z + 5*v - 40 = 7*z, z + 2*v - 4 = 0 for z.
-4
{"question": "What is the third root of 24542679 to the nearest integer?", "answer": "291"}
What is the third root of 24542679 to the nearest integer?
291
{"question": "Find the second derivative of 1247*g - 1470*g**4 + 5 - 3298*g + 1517*g wrt g.", "answer": "-17640*g**2"}
Find the second derivative of 1247*g - 1470*g**4 + 5 - 3298*g + 1517*g wrt g.
-17640*g**2
{"question": "What is the difference between 133 and 4?", "answer": "129"}
What is the difference between 133 and 4?
129
{"question": "What is the g'th term of -397, -539, -681, -823, -965, -1107?", "answer": "-142*g - 255"}
What is the g'th term of -397, -539, -681, -823, -965, -1107?
-142*g - 255
{"question": "Let q = 23 + -21. Sort q, -2, -2/67 in decreasing order.", "answer": "q, -2/67, -2"}
Let q = 23 + -21. Sort q, -2, -2/67 in decreasing order.
q, -2/67, -2
{"question": "What is the remainder when 1116903 is divided by 93075?", "answer": "3"}
What is the remainder when 1116903 is divided by 93075?
3
{"question": "Simplify (sqrt(405) + (sqrt(405) + 3)*2 + sqrt(405) + -3 + -5 - (-5 + sqrt(405)*2 + -2 + -5))**2.", "answer": "360*sqrt(5) + 1720"}
Simplify (sqrt(405) + (sqrt(405) + 3)*2 + sqrt(405) + -3 + -5 - (-5 + sqrt(405)*2 + -2 + -5))**2.
360*sqrt(5) + 1720
{"question": "Rearrange -23*b + 2 - 21*b + 32*b to n*b + l and give l.", "answer": "2"}
Rearrange -23*b + 2 - 21*b + 32*b to n*b + l and give l.
2
{"question": "Let n = -45 - -31. Let c = n + 6. What is the units digit of (-2)/(-4)*-1*c?", "answer": "4"}
Let n = -45 - -31. Let c = n + 6. What is the units digit of (-2)/(-4)*-1*c?
4
{"question": "How many decades are there in 3/50 of a millennium?", "answer": "6"}
How many decades are there in 3/50 of a millennium?
6
{"question": "Suppose -4*f = 5*i - 34, -3*i + 0*i = -5*f - 13. Calculate the smallest common multiple of i/4*4*(-9)/(-18) and 10.", "answer": "30"}
Suppose -4*f = 5*i - 34, -3*i + 0*i = -5*f - 13. Calculate the smallest common multiple of i/4*4*(-9)/(-18) and 10.
30
{"question": "What is the nearest to 0.3 in 10, 2, -1/3?", "answer": "-1/3"}
What is the nearest to 0.3 in 10, 2, -1/3?
-1/3
{"question": "Express 2*k + 0*k - 4*k - 10*k in the form z*k + v and give v.", "answer": "0"}
Express 2*k + 0*k - 4*k - 10*k in the form z*k + v and give v.
0
{"question": "What is the l'th term of -162, -292, -422, -552?", "answer": "-130*l - 32"}
What is the l'th term of -162, -292, -422, -552?
-130*l - 32
{"question": "Suppose 4*i - 4*r + 3 = -3*r, 12 = 5*i + 4*r. Let m = 3 + i. Suppose x + 10 = m*x. Solve -x*o + 24 = 4 for o.", "answer": "4"}
Suppose 4*i - 4*r + 3 = -3*r, 12 = 5*i + 4*r. Let m = 3 + i. Suppose x + 10 = m*x. Solve -x*o + 24 = 4 for o.
4
{"question": "Suppose 7*i - 281 = 34. What is the least common multiple of i and 25?", "answer": "225"}
Suppose 7*i - 281 = 34. What is the least common multiple of i and 25?
225
{"question": "Expand 3*o**5 - 4*o**5 + 0*o**5 + (-1 - 2*o + 1)*(0*o**4 + o**4 + 0*o**4) - 11*o - 9*o**5 + 6*o + 4*o + 2*o**5 - o**5 + o**5.", "answer": "-10*o**5 - o"}
Expand 3*o**5 - 4*o**5 + 0*o**5 + (-1 - 2*o + 1)*(0*o**4 + o**4 + 0*o**4) - 11*o - 9*o**5 + 6*o + 4*o + 2*o**5 - o**5 + o**5.
-10*o**5 - o
{"question": "Is 66648 > 66645?", "answer": "True"}
Is 66648 > 66645?
True
{"question": "Let q(o) = -o**2 + o + 1. Let h(r) = -4*r**2 + 5*r + 6. Let b(j) = -2*h(j) + 10*q(j). Differentiate b(y) wrt y.", "answer": "-4*y"}
Let q(o) = -o**2 + o + 1. Let h(r) = -4*r**2 + 5*r + 6. Let b(j) = -2*h(j) + 10*q(j). Differentiate b(y) wrt y.
-4*y
{"question": "What is the cube root of 479061106 to the nearest integer?", "answer": "782"}
What is the cube root of 479061106 to the nearest integer?
782
{"question": "Suppose -3 = 2*c - 9. Suppose -4*k + 5*n = 2, c = 4*k - n - 3. What is the first derivative of -2*a**2 + 5*a**2 - a**k - 3*a**2 + 8 wrt a?", "answer": "-2*a"}
Suppose -3 = 2*c - 9. Suppose -4*k + 5*n = 2, c = 4*k - n - 3. What is the first derivative of -2*a**2 + 5*a**2 - a**k - 3*a**2 + 8 wrt a?
-2*a
{"question": "Evaluate (30/(-33))/(114/(-209))*-3.", "answer": "-5"}
Evaluate (30/(-33))/(114/(-209))*-3.
-5
{"question": "Let m be (5 + (-2)/1)/1. Suppose -m*n + 2*n = -3. Let s be 1/n - (-4)/(-39). Which is bigger: 1 or s?", "answer": "1"}
Let m be (5 + (-2)/1)/1. Suppose -m*n + 2*n = -3. Let s be 1/n - (-4)/(-39). Which is bigger: 1 or s?
1
{"question": "Let b be -2 + -3 + (2392/(-32))/(-13). Let c = -64 - -257/4. Solve -1/2 + c*q + b*q**2 = 0 for q.", "answer": "-1, 2/3"}
Let b be -2 + -3 + (2392/(-32))/(-13). Let c = -64 - -257/4. Solve -1/2 + c*q + b*q**2 = 0 for q.
-1, 2/3
{"question": "Let m(w) be the third derivative of -w**6/120 - w**4/6 - w**3/2 + 5*w**2. Let p be m(-2). Sort p, 4, -2.", "answer": "-2, 4, p"}
Let m(w) be the third derivative of -w**6/120 - w**4/6 - w**3/2 + 5*w**2. Let p be m(-2). Sort p, 4, -2.
-2, 4, p
{"question": "In base 5, what is 10 - 441420?", "answer": "-441410"}
In base 5, what is 10 - 441420?
-441410
{"question": "Let b(o) = 8*o**3 + 3*o**2 - 3*o. Let q(f) be the first derivative of -175*f**4/4 - 65*f**3/3 + 65*f**2/2 + 70. What is -130*b(z) - 6*q(z)?", "answer": "10*z**3"}
Let b(o) = 8*o**3 + 3*o**2 - 3*o. Let q(f) be the first derivative of -175*f**4/4 - 65*f**3/3 + 65*f**2/2 + 70. What is -130*b(z) - 6*q(z)?
10*z**3
{"question": "Suppose 15*r = 34*r - 63840000. Round r to the nearest one million.", "answer": "3000000"}
Suppose 15*r = 34*r - 63840000. Round r to the nearest one million.
3000000
{"question": "Sum -783.347468 and 1.5.", "answer": "-781.847468"}
Sum -783.347468 and 1.5.
-781.847468
{"question": "What is the common denominator of -81/550 and 149/1650?", "answer": "1650"}
What is the common denominator of -81/550 and 149/1650?
1650
{"question": "Let p(t) = 199*t**3 + 1. Let d be p(1). Let h = d + -96. Let l = -20 + h. Calculate the highest common divisor of 12 and l.", "answer": "12"}
Let p(t) = 199*t**3 + 1. Let d be p(1). Let h = d + -96. Let l = -20 + h. Calculate the highest common divisor of 12 and l.
12
{"question": "What is the difference between -1369243345027 and -2?", "answer": "1369243345025"}
What is the difference between -1369243345027 and -2?
1369243345025
{"question": "355 divided by -3", "answer": "-355/3"}
355 divided by -3
-355/3
{"question": "Let f = 42424/9 + -4714. Which is the fifth biggest value? (a) f (b) 1 (c) 2/7 (d) -0.1 (e) 0", "answer": "a"}
Let f = 42424/9 + -4714. Which is the fifth biggest value? (a) f (b) 1 (c) 2/7 (d) -0.1 (e) 0
a
{"question": "Expand -2*k**4 + 5*k**4 - k**4 - k**4 + 3*k**4 + 0*k**4 - 8*k + 8*k + 2*k**4 + (3 + 1 + 16)*(-2*k + 2*k - 2*k**4).", "answer": "-34*k**4"}
Expand -2*k**4 + 5*k**4 - k**4 - k**4 + 3*k**4 + 0*k**4 - 8*k + 8*k + 2*k**4 + (3 + 1 + 16)*(-2*k + 2*k - 2*k**4).
-34*k**4
{"question": "Is 8 a factor of 7436?", "answer": "False"}
Is 8 a factor of 7436?
False
{"question": "What is the x'th term of -73723, -73726, -73729, -73732?", "answer": "-3*x - 73720"}
What is the x'th term of -73723, -73726, -73729, -73732?
-3*x - 73720
{"question": "Let f = 186 + -131. Let k be 1 + (704 - (-2 - 0)). Suppose n - f = 3*s - k, -5*s + 1110 = 3*n. Is s prime?", "answer": "False"}
Let f = 186 + -131. Let k be 1 + (704 - (-2 - 0)). Suppose n - f = 3*s - k, -5*s + 1110 = 3*n. Is s prime?
False
{"question": "Let k(f) = 72*f + 147. Calculate k(-2).", "answer": "3"}
Let k(f) = 72*f + 147. Calculate k(-2).
3
{"question": "Suppose -3120004 = 6*s - 3*s - 2*f, 0 = 2*s - 4*f + 2080008. What is s rounded to the nearest one hundred thousand?", "answer": "-1000000"}
Suppose -3120004 = 6*s - 3*s - 2*f, 0 = 2*s - 4*f + 2080008. What is s rounded to the nearest one hundred thousand?
-1000000
{"question": "Suppose 314 - 326 = 4*r. Sort -4, r, -20 in descending order.", "answer": "r, -4, -20"}
Suppose 314 - 326 = 4*r. Sort -4, r, -20 in descending order.
r, -4, -20
{"question": "Let q be 1/2*(6 + -10). Let s be (1/q)/((-11)/264). Suppose 0 = -24*l + 26*l - 3*r - 37, 0 = l + 4*r - 24. What is the greatest common factor of s and l?", "answer": "4"}
Let q be 1/2*(6 + -10). Let s be (1/q)/((-11)/264). Suppose 0 = -24*l + 26*l - 3*r - 37, 0 = l + 4*r - 24. What is the greatest common factor of s and l?
4
{"question": "Let v(u) be the first derivative of 9*u**2 + 24 - 13*u**2 + 31*u**2. Let m(b) = b. Calculate m(v(p)).", "answer": "54*p"}
Let v(u) be the first derivative of 9*u**2 + 24 - 13*u**2 + 31*u**2. Let m(b) = b. Calculate m(v(p)).
54*p
{"question": "Let d = -4 - -4. Let j = -1 - d. Let n(u) = -13*u - 1. What is the remainder when 22 is divided by n(j)?", "answer": "10"}
Let d = -4 - -4. Let j = -1 - d. Let n(u) = -13*u - 1. What is the remainder when 22 is divided by n(j)?
10
{"question": "Convert ab6787 (base 14) to base 15.", "answer": "79e131"}
Convert ab6787 (base 14) to base 15.
79e131
{"question": "What is the units digit of 910825?", "answer": "5"}
What is the units digit of 910825?
5
{"question": "Convert -17ed (base 16) to base 12.", "answer": "-3665"}
Convert -17ed (base 16) to base 12.
-3665
{"question": "Let s be -4 + 70/20 + 0/(-1). Which is the nearest to 0? (a) -0.1 (b) s (c) -720", "answer": "a"}
Let s be -4 + 70/20 + 0/(-1). Which is the nearest to 0? (a) -0.1 (b) s (c) -720
a
{"question": "What is the hundred thousands digit of 68155883?", "answer": "1"}
What is the hundred thousands digit of 68155883?
1
{"question": "Let a = 298 + -297. Solve 5*w - a = 4*l, -2*l + w - 2 - 3 = 0 for l.", "answer": "-4"}
Let a = 298 + -297. Solve 5*w - a = 4*l, -2*l + w - 2 - 3 = 0 for l.
-4
{"question": "Suppose 5*h - 15 = h - 5*n, -2*h + 5 = 5*n. Let g(a) = -a**2 + 8*a - 5. Calculate the least common multiple of 8 and g(h).", "answer": "40"}
Suppose 5*h - 15 = h - 5*n, -2*h + 5 = 5*n. Let g(a) = -a**2 + 8*a - 5. Calculate the least common multiple of 8 and g(h).
40
{"question": "Solve 24*p + 4484 = 4580 for p.", "answer": "4"}
Solve 24*p + 4484 = 4580 for p.
4
{"question": "Let b be 31*(-26)/(-18) + (-16)/(-72). What is the third derivative of -42*c**2 + 39*c - 7 - 39*c + 6 + b*c**3 wrt c?", "answer": "270"}
Let b be 31*(-26)/(-18) + (-16)/(-72). What is the third derivative of -42*c**2 + 39*c - 7 - 39*c + 6 + b*c**3 wrt c?
270
{"question": "Simplify (m**(-3)/m**0)/((m/(m**(-9)/m))/(m/m**0*m*m)) assuming m is positive.", "answer": "m**(-11)"}
Simplify (m**(-3)/m**0)/((m/(m**(-9)/m))/(m/m**0*m*m)) assuming m is positive.
m**(-11)
{"question": "Collect the terms in -1770*b**3 + 1776*b**3 + 5*b - 5*b.", "answer": "6*b**3"}
Collect the terms in -1770*b**3 + 1776*b**3 + 5*b - 5*b.
6*b**3
{"question": "Let d = 0.06 + -0.09. Let j = -0.23 - d. Which is the third biggest value? (a) j (b) 0 (c) -0.1", "answer": "a"}
Let d = 0.06 + -0.09. Let j = -0.23 - d. Which is the third biggest value? (a) j (b) 0 (c) -0.1
a
{"question": "Round 0.00002720846807 to six decimal places.", "answer": "0.000027"}
Round 0.00002720846807 to six decimal places.
0.000027
{"question": "Sort 3, 27/5, -0.03, -11.1, -4, 7 in decreasing order.", "answer": "7, 27/5, 3, -0.03, -4, -11.1"}
Sort 3, 27/5, -0.03, -11.1, -4, 7 in decreasing order.
7, 27/5, 3, -0.03, -4, -11.1
{"question": "Suppose -5*z - 4*y = -44, -z - 5*y = -2*z + 32. Solve -d - z = -4*d, 18 = -t + 5*d for t.", "answer": "2"}
Suppose -5*z - 4*y = -44, -z - 5*y = -2*z + 32. Solve -d - z = -4*d, 18 = -t + 5*d for t.
2
{"question": "Suppose 7*g - 12 - 1/2*g**2 = 0. Calculate g.", "answer": "2, 12"}
Suppose 7*g - 12 - 1/2*g**2 = 0. Calculate g.
2, 12
{"question": "Solve o = -11*o + 4*o for o.", "answer": "0"}
Solve o = -11*o + 4*o for o.
0
{"question": "Calculate the remainder when 1959 is divided by 290.", "answer": "219"}
Calculate the remainder when 1959 is divided by 290.
219
{"question": "Simplify ((o**(-12)/o*o*o)/(o*o*o*(o/o**(-11))/o*o))/(o**(-2/37)*o*o**(-20)) assuming o is positive.", "answer": "o**(-257/37)"}
Simplify ((o**(-12)/o*o*o)/(o*o*o*(o/o**(-11))/o*o))/(o**(-2/37)*o*o**(-20)) assuming o is positive.
o**(-257/37)
{"question": "What is the third root of 335615882 to the nearest integer?", "answer": "695"}
What is the third root of 335615882 to the nearest integer?
695
{"question": "Let q be 2/(-4) + (-156)/(-8). What is the highest common divisor of q and 38?", "answer": "19"}
Let q be 2/(-4) + (-156)/(-8). What is the highest common divisor of q and 38?
19
{"question": "Suppose 15 = 4*f - 5. Let w(q) be the third derivative of q**5/12 - q**4/4 + q**3 - q**2. Let o(j) = -11*j + 3 + 6*j + 4*j**2 + 2. Calculate f*w(r) - 6*o(r).", "answer": "r**2"}
Suppose 15 = 4*f - 5. Let w(q) be the third derivative of q**5/12 - q**4/4 + q**3 - q**2. Let o(j) = -11*j + 3 + 6*j + 4*j**2 + 2. Calculate f*w(r) - 6*o(r).
r**2
{"question": "Collect the terms in 2232*j - 679*j - 777*j + 58 - 774*j.", "answer": "2*j + 58"}
Collect the terms in 2232*j - 679*j - 777*j + 58 - 774*j.
2*j + 58
{"question": "Divide -5818683 by -13.", "answer": "447591"}
Divide -5818683 by -13.
447591
{"question": "What is the next term in 475, 476, 477?", "answer": "478"}
What is the next term in 475, 476, 477?
478
{"question": "In base 4, what is -13 - -131003?", "answer": "130330"}
In base 4, what is -13 - -131003?
130330
{"question": "Let j = -322.1 + 322. What is the nearest to j in 4/7, -0.2, 0.2?", "answer": "-0.2"}
Let j = -322.1 + 322. What is the nearest to j in 4/7, -0.2, 0.2?
-0.2
{"question": "In base 9, what is 5 + 6521?", "answer": "6526"}
In base 9, what is 5 + 6521?
6526
{"question": "What is the third derivative of -3*i**5 - 76*i**3 + 185*i**2 wrt i?", "answer": "-180*i**2 - 456"}
What is the third derivative of -3*i**5 - 76*i**3 + 185*i**2 wrt i?
-180*i**2 - 456
{"question": "Calculate -2 - -1 - (8 + -5 + -1).", "answer": "-3"}
Calculate -2 - -1 - (8 + -5 + -1).
-3
{"question": "Solve 3033*c + 52329 = 7151 - 51878 for c.", "answer": "-32"}
Solve 3033*c + 52329 = 7151 - 51878 for c.
-32
{"question": "Is (-298)/(1140/(-220) + -1 + 6) a prime number?", "answer": "False"}
Is (-298)/(1140/(-220) + -1 + 6) a prime number?
False
{"question": "Let l = 378 + -375.79. Let i = l - 2.2195. What is i rounded to 2 decimal places?", "answer": "-0.01"}
Let l = 378 + -375.79. Let i = l - 2.2195. What is i rounded to 2 decimal places?
-0.01
{"question": "What is -283824 divided by 8?", "answer": "-35478"}
What is -283824 divided by 8?
-35478
{"question": "Suppose 0 = 5*h + 4*i - 30, 5*i = 25. Solve -4 = -l - 0*l, 4*m + 8 = -h*l for m.", "answer": "-4"}
Suppose 0 = 5*h + 4*i - 30, 5*i = 25. Solve -4 = -l - 0*l, 4*m + 8 = -h*l for m.
-4
{"question": "What is the second derivative of -2*w**3 - 68*w**2 - 4*w + 44 wrt w?", "answer": "-12*w - 136"}
What is the second derivative of -2*w**3 - 68*w**2 - 4*w + 44 wrt w?
-12*w - 136
{"question": "Expand (-11*y + 7*y - 5*y)*(0*y**2 + 7*y**2 - 3*y**2) + y**3 + y**3 - 4*y**3 + 2*y - 2*y + 2*y**3 + 3*y**2.", "answer": "-36*y**3 + 3*y**2"}
Expand (-11*y + 7*y - 5*y)*(0*y**2 + 7*y**2 - 3*y**2) + y**3 + y**3 - 4*y**3 + 2*y - 2*y + 2*y**3 + 3*y**2.
-36*y**3 + 3*y**2
{"question": "Is 20933087 a prime number?", "answer": "False"}
Is 20933087 a prime number?
False
{"question": "Calculate 2*42/24*(-244)/14.", "answer": "-61"}
Calculate 2*42/24*(-244)/14.
-61
{"question": "Express -3*n + 8*n + 3*n - 2*n in the form l*n + w and give l.", "answer": "6"}
Express -3*n + 8*n + 3*n - 2*n in the form l*n + w and give l.
6
{"question": "Let y(r) = 2*r - 29. Let j(z) = -2*z + 28. Give -3*j(s) - 2*y(s).", "answer": "2*s - 26"}
Let y(r) = 2*r - 29. Let j(z) = -2*z + 28. Give -3*j(s) - 2*y(s).
2*s - 26
{"question": "Let q(j) = 2*j**3 + 8*j**2 - 9*j - 6. Let b be q(-4). Sort 0, b, -4.", "answer": "-4, 0, b"}
Let q(j) = 2*j**3 + 8*j**2 - 9*j - 6. Let b be q(-4). Sort 0, b, -4.
-4, 0, b
{"question": "In base 3, what is -2101 - 100101211012?", "answer": "-100101220120"}
In base 3, what is -2101 - 100101211012?
-100101220120
{"question": "Three letters picked without replacement from hhkkpw. What is prob of picking 1 w and 2 k?", "answer": "1/20"}
Three letters picked without replacement from hhkkpw. What is prob of picking 1 w and 2 k?
1/20
{"question": "Two letters picked without replacement from nir. What is prob of sequence in?", "answer": "1/6"}
Two letters picked without replacement from nir. What is prob of sequence in?
1/6
{"question": "Is 179 a factor of 3814970?", "answer": "False"}
Is 179 a factor of 3814970?
False
{"question": "Suppose 13649*z - 9 = 13658*z. Let g(h) = 2*h**3 - 8*h**2 - 6*h + 6. Let r(t) be the first derivative of -t**3/3 - t**2/2 + t + 37. Calculate z*g(q) + 6*r(q).", "answer": "-2*q**3 + 2*q**2"}
Suppose 13649*z - 9 = 13658*z. Let g(h) = 2*h**3 - 8*h**2 - 6*h + 6. Let r(t) be the first derivative of -t**3/3 - t**2/2 + t + 37. Calculate z*g(q) + 6*r(q).
-2*q**3 + 2*q**2