Answer: a= -3 and b=2.
Explanation:
If a system of linear equations has infinitely many solutions, then
Ratio of coefficient of y= ratio of coefficient of x = ratio of constants.
Given system:
It it has infinitely many solutions, then
hence, a= -3 and b=2.