Hello everybody.

My math skills are quite rusty and I am having trouble setting up an equation for a program I am writing. Here it is:

loc = ((y+(delta*i))/d)*i + x

I need to solve for i (in relation to the other variables, of course). Any help would be appreciated. Thanks.