Someone just gave me this question to solve and I am not sure how they got to the conclusion.
Question: Consider the graph given by $y=ae^x + b$. Find the values of $a$ and $b$.
I don't know how to add graphs in here, so I am providing the link to a graph on desmos. The graph, the coordinates of the point $(0, 6)$ and a line $y=4$ are the only thing that is given in the graph on the question and we are supposed to deduce the values of $a$ and $b$. In the case of desmos, the graph does tell you the values of $a$ and $b$ but we are not given the values of $a$ and $b$ in the graph given in the question. We are just given that the graph intersects the $y$ axis at $x=0$. So we are given the graph with point $(0, 6)$ labeled on it and the line $y=4$.
Graph: https://www.desmos.com/calculator/vv00xwli8t
My Question: How does one reach the conclusion that $a=2$ and $b=4$? I tried a few ways and I just couldn't seem to construct a rigorous argument for how I got the answer.
Edit 1: As pointed out in the comments, I wrote "The graph intersects the y axis at $0$". I meant to write it intersects the y axis at $x=0$. Edited that now.