Where:
a = Gallons upon which tax was paid to other states
b = West Virginia apportionment factor
c = West Virginia motor fuel variable tax rate
d = Actual rate paid per gallon
e = Total Gallons used in West Virginia
f = Gallons exempt due to railroad diesel locomotive exemption.
W. Va. Code R. § 110-41-5