If 40 represents 50%, to find which number represents 100%, we can use the next proportion
[tex]\frac{40}{x}=\frac{50\text{ \%}}{100\text{ \%}}[/tex]Solving for x,
[tex]\begin{gathered} 40\cdot100=50\cdot x \\ \frac{4000}{50}=x \\ 80=x \end{gathered}[/tex]Then, 40 is 50% of 80