On a smooth inclined plane, a block of mass $M$ is fixed to two rigid supports using two springs, each having spring constant $k$, as shown in the figure. If the masses of the springs are neglected, then the period of oscillation of the block is