For the number 7, begin by solving for k. Remember your discriminant rules: k is greater than 0, there are 2 real solutions k is equal to 0, there is one real solution k is less than 0, there are no real solutions
On number 8, solve for a, and then figure out the number of solutions using the rules above.