Find the values of a and b in each of the following:


 







12