#3 - March 21, 2007, 1:37 a.m.
The metagem bonus takes all of your equipped gems into account when filling the requirement.
If the meta-gem requires two yellow and one red gem, those three gems must be socketed somewhere on your gear.
Yes, cheap, vendor-bought gems will work for the bonus.