When you say "power consumption", it's not clear what you mean. To illustrate my difficulty with your question, imagine you work for $10 per hour, for 8 hours (your wage), and then a further 4 hours at a rate of $20 per hour. At the end of the 12 hour shift, it makes sense to ask how many dollars you have, but not "how much wage" you have.
In your electrical system, energy is the commodity being transferred, measured in Joules, and analogous to dollars. Power is the rate at which that energy is transferred, measured in Joules per second, analogous to "dollars per hour". Asking "how much power" is like asking "how much wage".
You could figure out an average wage, for the 12 hour shift, or you can calculate the total money you accumulated during the shift, corresponding to "average power" or "total energy".
It's probably easier to assume you mean "total energy", and then later we can calculate what average power that corresponds to, so that's what I'll do.
You have 2 consecutive intervals of time, 10s and 20s long respectively, and in each interval you have a potentially varying amount of voltage \$V\$ across some load, and a potentially varying amount of current \$I\$ through the load.
At any instant in time, the power (in Watts, or Joules per second) being delivered to the load is the product of those two values \$P = V \times I\$, at that instant in time. Therefore power varies as time progresses, just as wages vary with time of day. Energy (in Joules), on the other hand, is being accumulated in the load, ever increasing.
Note that you also use the phrase "consuming current", which doesn't make sense. Current is a "flow" of charge. You may say that something "passes current", or "carries current". You would never say that a road "consumes cars".
You did most of the arithmetic for me, by correctly stating the average power in stage 1, that being the average voltage multiplied by the constant current:
$$ \begin{aligned} P_1 &= \frac{100V+99V}{2}\times 5A \\ \\ &= 497.5W \end{aligned} $$
Now your "income" from that period is is the product of your wage and the amount of time you worked at that wage, or in electrical terms, the product of power and time:
$$ \begin{aligned} E_1 &= P_1 \times 10s \\ \\ &= 497.5W \times 10s \\ \\ &= 4975J \end{aligned} $$
Then you describe a drop from 99V to 93V, with a current increase to 20A. This voltage drop and current rise is instantaneous, and those values are irrelevant for a transition that takes zero time to complete. You could work at a wage of one billion dollars per microsecond, and your net income would not change by one single cent if the amount of time you worked was exactly zero microseconds. I will disregard what happens in this instant of time.
Next, in stage 2, voltage falls uniformly from 93V to 90V, and current stays a constant 20A. This means that your average power is:
$$ \begin{aligned} P_2 &= \frac{93V+90V}{2}\times 20A \\ \\ &= 1830W \end{aligned} $$
This average power is delivered for 20s to the load, so the total energy delivered in this period is the product of power and time:
$$ \begin{aligned} E_2 &= P_2 \times 20s \\ \\ E_2 &= 1830W \times 20s \\ \\ &= 36,600J \end{aligned} $$
The total energy delivered to the load is the sum of energies \$E_1\$ and \$E_2\$, and that total energy was delivered over a total duration of 30s. So, on average, during phases 1 and 2, the power was:
$$ \begin{aligned} P_{AVERAGE} &= \frac{E_1 + E_2}{10s + 20s} \\ \\ &= \frac{4975J + 36600J}{30s} \\ \\ &= \frac{41575J}{30s} \\ \\ &= 1386W \\ \\ \end{aligned} $$
In summary, total energy delivered/consumed in the first 30s was 41575J, at an average rate (power) of 1386W.