Just enter a few x-values (something like -2, -1, 0, 1, 2) and find the corresponding y-value and sketch the graph. It should look like the attachment.
Domain is all the valid x-values, range is all the valid y-values.
logx is only defined for x>0, so it's domain is x>0. It's range is all real y-values. It has a vertical asymptote at x=0.
5^x has a domain of all real x-values, but it's range is limited to y>0. It has a horizontal asymptote at y=0.
It will come in handy to remember this:
Exponential functions (like 5^x) will have a *domain* of all real x-values.
Logarithmic functions (like log5x) will have a *range* of all real y-values.