As mentioned, total RAM for Core2Duo early intel-based iMac 17" - 20" is 3GB,
that means one - 2GB chip in one slot, and one- 1GB chip in that other, per
the relatively easy instructions noted in the page I'd linked that has pictures.
•Maximum Memory 3.0 GB (4.0 GB can be installed, only 3.0 GB will be addressed)
•Memory Slots 2 - 200-pin PC2-5300 (667MHz) DDR2 SO-DIMM
from http://mactracker.ca -- a database download free app to see most Apple specs
Or for convenience sake, two - 2GB chips can be installed, that may not be seen
as more than 3GB by the computer, BUT data speed may still be a tiny bit faster.
(Hopefully your applications won't balk at Lion 10.7.5, if any happened to be
originally written for PowerPC (non-Intel) and thus required 10.6.8 & before,
as those would no longer be supported after Snow Leopard, w/o rosetta.)
You should have been able to use menu> about this mac> and page link
to 'How to Identify your iMac' and came up with the iMac model identifier 5.1.
Anyway, now you know and when you take the computer in to a tech for them
to upgrade RAM (since you appear reluctant to look deeper) note they also
will lookup the iMac in their database, to match whatever brand RAM in stock.
In any event...
Good luck & happy computing! 🙂