That works. Word of caution with that flex line. Make sure you use lots of cement, twist it a full half turn after seating. I would recommend using a towel under it because you will for sure drip everywhere if you solvent weld flex line properly. It takes a bit more than the average fitting.