Eagles beat Giants to wrap up season 10-6