Attempting to calculate aim angle for a launched projectile that has drag

Hello, I am attempting to calculate the angle to aim at in order for my projectile to hit the target.

I found an answer to get the angle to aim at in order to hit the target but I have been unsuccessful in implementing drag into the equation. I understand drag is applied on each step of the projectiles simulation but I can’t see how I am supposed to get an optimal aim angle from simulating the drag.

yeah ive been struggling on doing something very similar to this too with a aiming a projectile that has drag to hit a target its been very frustrating since my gameplay relies on having accurate drag prediction