WARNING: This page is about a different car, the 2020 Mazda MX-5 Miata. However, it is still accessible from the selected car via links, so may be relevant.
Align the marks made before removal and install the brake pipe to the DSC HU/CM and brake pipe joint referring to the figure.