contact your BMW dealer and ask for an estimate
then you have a official answer, and then contact indies which probably can do it cheaper.
But as you say "may be in need of a new head gasket", no one can tell you the final price till the head is off and has been pressure tested etc.Shogun E32 Tech Tips: http://twrite.org/shogunnew/topmenu.html