Please help me run step by step on solving this as I’m reallyConfused

Given:
The graph of the function is given.
To find:
The correct function.
Explanation:
Graph A:
Since the end behaviours are,
[tex]\begin{gathered} As\text{ x}\rightarrow-\infty,f(x)\rightarrow0 \\ As\text{x}\operatorname{\rightarrow}\infty,f(x)\operatorname{\rightarrow}\infty \end{gathered}[/tex]So, the function is,
[tex]y=2^x[/tex]Graph B:
Since the end behaviours are,
[tex]A\mathrm{s}\:x\to\:+\infty\:,\:f\left(x\right)\to\:-\infty[/tex]So, the function is,
[tex]y=\log_{\frac{1}{2}}x[/tex]Graph C:
Since the end behaviours are,
[tex]\begin{gathered} A\mathrm{s}\:x\to\:+\infty\:,\:f\left(x\right)\to\:0 \\ A\mathrm{s}\:x\to\:-\infty\:,\:f\left(x\right)\to\:+\infty \end{gathered}[/tex]So, the function is,
[tex]y=(\frac{1}{2})^x[/tex]Graph D:
Since the end behaviours are,
[tex]A\mathrm{s}\:x\to\:+\infty\:,\:f\left(x\right)\to\:+\infty\:[/tex]So, the function is,
[tex]y=\log_2x[/tex]