An isomorphism of rings

Let Z[2]={a+b2|a,bZ}, and let RM2(Z) be the ring of all 2×2 matrices of the form [ab2ba]. Prove Z[2] is isomorphic to R.

Hint: Start by showing the map a+b2[ab2ba] is a ring homomorphism.