Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Check the specs in apple menu>about this mac>more info and then memory down the left hand side - they should both be pc5300.

If they are the same - then yes !! (they should be)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.