I need help finding the domain and range for both graphs , I’ve tried but I am a little confused

Given:
graph of the functions are given.
Find:
we have to find the Domain and Range of the graphs.
Explanation:
From the first graph, x varies from 0 to 18 and y=f(x) varies from 200 to 2000 depending upon the values of x.
Domain = [0,18]
Range=[200,2000]
From the second graph, x varies from 0 to 4 and y=f(x) varies from 0 to 160 depending upon the values of x.
Therefore,
Domain=[0,4]
Range=[0,160]
en