The values of a and b of the given sequence are; a = 6 and b = -15
We are given the formula for nth term of a sequence as;
an² + bn
We are given that;
Third term = 9
Sixth term = 126
Thus;
a₃ = 9 = a(3)² + b(3)
9a + 3b = 9 ------(1)
Similarly for the 6th term;
a(6)² + b(6) = 126
36a + 6b = 126 ------(2)
Multiply eq 1 by 2 to get;
18a + 6b = 18 ------(3)
Subtract eq 3 from eq 2 to get;
18a = 108
a = 6
18(6) + 6b = 18
6b = 18 - 108
6b = -90
b = -90/6
b = -15
Read more about Nth term of a sequence at; https://brainly.com/question/7882626
#SPJ1