Q: "Can u just tell me if it will work"?
No - unfortunately we can't.
Why? Because we don't know how long your "long cable" is, and we don't know what gauge wire is used.
What does "length & wire gauge" have to do with it?
The longer the wire, and the thinner the diameter, the higher the resistance - as explained here.
As the wire resistance increases, the voltage delivered to the RPi's USB input decreases. This is a consequence of Ohm's Law. If the input voltage decreases below approx 4.6 Volts, the RPi will begin to "misbehave", and you will have problems with it.
What can be done?
There are several remedies, but they will require a non-standard method of power delivery to the RPi. There are other Q&A here on RPi SE that address some of those options; you may ask a new question if none of these address your situation.
In the simplest terms: If you can tell us 1. Length of cable, and 2. Gauge of wire used for power, we can make a reasonable guess as to whether it will work. If you can't tell us that, then you will have to buy-it-and-try-it.