How do I say "the school was sold to that big company"? My question is related to the position of 给.

Do I say:


  学校被卖给那个公司了。


or


  学校给那个公司被卖了。


Thanks!
The position of 给 in the first sentence you have is correct, you would just add 了 to indicate the completion of the act to make it flow better


  那所学校被卖给那个大公司了