This is a nuisance, because I don't know how to use special characters, but here goes:
FO2 = percentage O2 in final mix
PSIO2 = psi of oxygen added
TP = tank pressure
FO2 = [(PSIO2) + .21(TP - PSIO2)]/TP (this says that the fraction of oxygen in the final mix is equal to the psi of pure O2 added, plus .21 times the air it's topped off with, divided by the total tank pressure)
FO2 =( PSIO2 + .21TP - .21PSIO2)/TP Distributing
FO2 x TP = .79 PSIO2 + .21TP (Moved the TP in the denominator to the other side; combined the PSIO2 terms)
FO2 x TP - .21TP = .79PSIO2 (subtracted the .21TP from both sides)
(FO2 - .21)TP = .79 PSIO2 (distributive law)
[(FO2 - .21)TP/.79] = PSIO2 (divided both sides by .79)
There's your derivation.