Hi,
I am trying to solve this equation by making w thw subject of the formula. Help please !!

D/w = Mr/(1 - (1+r)^(-(n-w))

Thanks