How is v = awcos (WT +?) derived from the expression of X in simple harmonic motion?

How is v = awcos (WT +?) derived from the expression of X in simple harmonic motion?

V=dx /dt
From v = awcos (WT +?), as long as both sides integrate at the same time, we get the expression of X
That is, x = ∫ V DT = ∫ awcos (WT +?) DT = a sin (WT +?) + C, C is the integral constant