I am working on a Centroid Integration problem, and I am having problems rearranging a simple equation in terms of x. Can you have a look at this and tell me if I am going mad?

y = h/b (b - x)

should be x = b/h (h - y)

Is that right?

thanks to those who help.