If A = [[1, -1], [2, -1]], B = [[a, 1], [b, -1]] and (A + B)^2 = A^2 + B^2, then values of a and b are