X110 and XP RAID

I have 2 X110 drives in a RAID running XP pro.   Legacy software dictates this.  I cannot run Win7.

How do I perform CG or TRIM?    Will leaving the drive idle to CG?

What is the best way to format this drive?   Format on Win 7 box?

TRIM is only supported in RAID with specific intel chipsets. Other than that even if you had one of those chipsets XP does not support TRIM. XP is really old and does not support SSD alignment etc. your best bet will be upgrading the OS to a more modern OS.