Have you learned how to reduce a matrix to row echelon form before? If so, then take your matrix and reduce it to row echelon form. For each step you do, you do it to the identity matrix. What is left after row reducing is your inverse matrix.

For example, say that your first step to reducing B to the identity matrix is dividing the entire first row by 4, then you do the same step to the identity matrix:

See how what I did to the left side, I did to the right side? Now continue to row reduce the left matrix to the identity matrix and perform the same steps to the right matrix. Again, whatever your result is on the right side after row reducing the left matrix is your inverse.

-----------------------

If not, you can always use this ghastly formula:

is found by finding the cofactors of each entry of B and then taking its transpose.

Here's a resource that you may find helpful: Paul's Online Notes: Linear Algebra