I like the Trek better. It's a higher end bike. Good price. The Cannondale is slightly overpriced. It should be cheaper.
Do you trust your friend with the used Trek? If so...get the Trek. And go your local Trek dealer if you ever have any problems with the bike.