1. Show the the following pair is row equivalent

5 1 6

-1 0 1

2 2 2

0 1 3

and

4 -1 0

3 1 1

-1 1 -1

2 1 3

2. Show that the following pair is not row equivalent

2 1 3 4

1 -1 1 2

0 2 1 0

and

5 2 1 1

0 3 1 -1

2 -1 0 3

I know that if rank of two matrices are different they cannot be row equivalent, but in this question two ranks are the same (r=3)

Please help