you have the matrix multiplication backwards (the first matrix you compose by goes on the RIGHT).

yes, you let the matrix product operate on the column vector (x,y) (or (x1,x2) if you prefer). the matrix A is the product of the two 2x2 matrices that each transformation is represented by.