I am having a real hard time memorizing this formula, i can derive most of other tax formula but this one…, does anyone have an eaiser way of doing it??

r*=r(1-PdTd-PiTd-PcgTcg)

T*=Tcg(1-Pd-Pi-Pcg)/(1-PdTd-PiTd-PcgTcg)

FV investment = initial investment [(1+r*)^t (1-T*)+T*)

THIS ONE…is so brutal…