I agree, basically, you use an attack that is super effective to the person before you's pokemon. (sorry if i am mini-modding, i'm just trying to explain the rules)
So, let me continue-
Since the pokemon mentioned last was pikachu, I use an attack that pikachu is super effective to.
Marshtomp, use Mud Shot!