The formula for h(x) is
.
The formula for the general sine function:

where:
A is the amplitude
T is the period
h is the horizontal shift
d is the vertical shift
In this case, the formula for h(x) is:

To simplify the expression, we can write:

We can also write:
