WARNING: This page is about a different car, the 2020 Mazda CX-30. However, it is still accessible from the selected car via links, so may be relevant.
Install the hood release cable to clip A so that clip A is in the center of the marked area of the cable.