So work it out based on the number of Senators and Representatives from each state (base fee for each state, then more based on population thereof).
so, basically based on population.
I haven’t found much by googling “taxing the states.” One proposed it based on state GDP which probably won’t work because who will determine state gdp and how?