Finite Time Emergence of A Shock Wave for Scalar Conservation Laws Via Lax-Oleinik Formula