If the side of a square is represented by the function S(x) = 2x - 1, find the function, in terms of x, that represents its area.​