f/s RAM- differnt types

could I combine the 5300 and the 4200 for 2 gigs ram? or would that not work?