You write
The solutions of x can be found by several ways
That sounds strange to me (but my English language knowledge is very limited, so maybe I am wrong). Is seems that you say one can select one of these ways to find the set of solutions. But actually one has to try all ways.
You ask
Is the exponential equation format wrong?
Exponentiation is written as $u^v$, this is exactly the way as your equation is written. So nothing is wrong with it. You should find all values of $x$ such that
$$h(x)^{f(x)}=h(x)^{g(x)} $$
if you substitute $x$ by one of these values.
What happens is that "exponential function" is a definition. You (or your book) give a name to a set of functions that uses exponentiation.
If $b>0$ and $b\ne 1$ than
a function
$$\begin{array}\\
f: &\mathbb{R} &\to &\mathbb{R^+} \\
&x &\mapsto& b^x
\end{array}
$$
is called an exonential function.
Note that I added the domain and the codomain to the function definition.
But not all number pairs u,v that can be exponentiated (= where $u^v$ can be calculated) are covered by "exponential functions". E.g. $(-3)^2$ is not because our definiton does not allow a negative $b$. This has practical reasons that this definiton of "exponential function" is used. Of course we could use a more comrehensive definition of "exponential function", but the functions we exclude are far less interesting nad most theorems are easier formulate if one uses the narrower definition given in the book.
A conflict may arise by the fact that there seems to be some natural definiton of "exponential function":
A function is an exponential function if its formula can be written in the form $b^x$. So maybe if we talk about the function
$$\begin{array}\\
f: &\mathbb{Z} &\to &\mathbb{R} \\
&x &\mapsto& (-2)^x
\end{array}
$$
we will call this an exponentiation function because its formula consists of an exponentiation. But this is a problem of language and the human mind that he will use such a word in this situation. In the sense of your book's definition this is not an exponentiation function, even if it is a function.
How can we solve the equation
$$h(x)^{f(x)}=h(x)^{g(x)} \tag{1}$$
for $x \in \mathbb{R}?$
We know that if
$$f(x) \ne g(x) \tag{2},$$ then
$$h(x)^{f(x)} \ne h(x)^{g(x)},$$
except in the case that $x \in \{-1,0,1\}.$ Can you prove this? In the latter case it is possible that $(1)$ is true even if $(2)$ holds. These are your 4 steps. In any case you should check if an $x$ that you have found is really a solution of the equation, even in your first step. You did not mention this.
Try to solve the equation
$$(3x+1)^{4x+1}=(3x+1)^{2x-1}$$
Solving
$$4x+1=2x-1 \tag{3}$$
gives $x=-\dfrac{1}{2}$, but if we substitute this in $(3)$ we get
$$(-\frac{1}{2})^{-\frac{1}{2}}$$
for the LHS and the RHS of the equation and this is not defined. So $x=-\dfrac{1}{2}$ is not a solution. So you should update the step 1 of your recipe.