If (2, 8) is the solution of the equation ax - y + 7 = 0, find the value of a.
Find the value of a if 3 is one of the solution of the equation 2x2+ax+6=0.