i can only find bpm to milliseconds and i dont remember how to switch around algebraic equasions that have 2 variables.

this is what someone said in a forum:

y = (240,000 * (d / t)) / x

where t is the divisions of a bar (e.g. 16)

and d is the delay time (e.g. 3)

and x is the bpm of your song

y is the delay time in milliseconds

so what would it look like the other way around please.