WARNING: This page is about a different car, the 2018 BMW 340i, 2017 BMW 340i, and 2016 BMW 340i. However, it is still accessible from the selected car via links, so may be relevant.
Detach vacuum hose (1).
Loosen screws (2) and (3).
Detach the coolant pump from the component carrier and remove towards the top.