use the substitution method
y=e^x ---------1
y=(e-1)x + 1 --------2
sub 1 into 2
e^x = ex - x + 1
e^x -ex + x -1 = 0
sub the values in and the equation should always = 0
when x = 0
e^0 -e(0) + o -1 = 0
1 - 1 = 0
when x =1
e - e + 1 - 1 = 0
not sure if I'm correct in doing it this way hahaha... correct me if I'm wrong, please. Although I do think I'm doing this wrongly.
That method is fine, except you'd have to put a statement at the end stating that as LHS=RHS when x=0 and x=1, then the equations meet at these x values.
Your method is basically a different way of doing the same thing.
HOWEVER! - Considering that you've eliminated the 'y' variable from the equations when you equated, you need to go back and substitute back into one of original equations to demonstrate that the y value is 1 when x=0 and e when x=1. Just to be 'technically' correct.
Otherwise there is nothing wrong with your approach.