We have an article about it: https://www.immigroup.com/news/what-do-when-your-spousal-sponsorship-fails
You cannot be responsible for 12 years, only 10 years, or until the child is 25 (the latter which is not applicable in this case).
There is no third way that I am aware of, either you...