Ok, you have a 2.2 engine, used engine prices can vary depending on many miles are on the used engine. you will be looking between 800.00 and 1500.00 for a used engine. a new engine list from a dealer for 3100.00, but you can buy from gmpartsdirect for 2882.20 plus shipping.
Labor is about 11 hours to replace. depending on what the shop rate is that you take it too. most shops are around 75.00 to 100.00 an hour. 11 hours X 75.00 =$825.00
If there is anything you dont understand, Please feel free to ask me to explain.