how to reduce exponential equation to quadratic equation form?

i was teaching a class and came across a question related to quadratic equations. question was about reducing given exponential equation to quadratic form and solve by factorization later. i would have solved that if bases were same or i could manipulate any of side in term of power of other. but it was impossible to write one side in term of power of other.
 
now i' like to know if there is any method to reduce such equations to quadratic ones.?

an example of that is this:
 
solve for:
 
e2x - 4ex + 3 = 0;
 
you can actually manipulate the power but it would be like this: (we know that (bm)n = bmn right?)
 
so we can rewrite the equation as:
 
(ex)2 - 4ex + 3 = 0
 
now, we let the ex = m (or any other variable that you like except x) and it will be:
 
m2 - 4m + 3 = 0
 
voila, your quadratic equation. by factoring:
 
(m-3)(m-1) = 0
 
m - 3 = 0          m - 1 = 0
 
m = 3               m = 1
 
return the value of 'm':
 
ex = 3               ex = 1
 
x = ln3              x  = ln1 = 0
 
*the actual equation given here is y = e2x - 4ex + 3. but since solving for x also means solving for the "zeroes" of an equation, these are actually the x-intercepts. meaning, you will let y = 0 and proceed on the process above.*