x=Inverse[Transpose[A].A].Transpose[A].b
{{1}, {1}}