If they are definitely the right physical size to fit her system, you can try them out without doing damage. But you may still have wrong types, wrong speeds etc.
Use something like click here to identify RAM types - and many other things.
Remember - very important - before moving any parts inside, remove the power cable. Simply switching off the PC in the normal way is not enough, as there is still power left on the motherboard.