Given a basis for a lattice in , show that every other basis for is of the form , where is a 2 by 2 integer matrix with determinant plus or minus 1.

So clearly and for , but I don't know how to show that the matrix consisting of those integers has determinant plus or minus 1. Any help would be appreciated.