Unconnect the broken one from the bonnet release catch, look how it fits and just refit the other one the same. Then pull it through to the interior of the car - selotape it to the old one and when you pull the broken out the by the interior new one will feed through with it.
Your welcome

*edit - look at the catch, make a mental note, pull it through then connect