The given system of equations can be written as
This system is of the form
where
For the given system of linear equations to have an infinite number of solutions, we must have
Adding , we get
Now, substituting a = 5 in a + b = 6, we have
Hence, a = 5 and b = 1.