using the variable x as the number of hours and y as the total number of people infected, your equation would be:
[tex]y=20*2^x[/tex]
hope this helps!
p.s. if you found this answer helpful, please mark my answer as brainliest, it would mean a lot to me, thanks!