This is probably a terrible TI solve, but after all the effort I went through to get to this, I'm content.