The sets are not vector spaces because they are not closed under scalar multiplication.
For example: (2,0) is in set 1, but -1(2,0) is not in the set. If we multiply a matrix in set 2 by a scalar other than 1, then the resulting matrix is not in the set