1/f = (v+u)/uv
First multiply both sides by uv.
uv/f = v+u
Then multiply both sides by f.
uv = f(v+u)
uv = fv + fu
uv-fv = fu
and now the most important step - factorising
(u-f)v = fu
v = fu / (u-f)
N.B. these formulas are used for working out focal lengths of lenses.
therefore
1/f = (u+v)/uv
and so f = ((u+v)/uv)^-1
f = vu/(v+u)
and to make c the subject,
1/v = 1/f - 1/u
1/v = (u-f)/uf
v = ((u-f)/uf)^-1
v = uf/(u-f)