Answer
$y=\int_{2}^{x} \sec t dt+3$
Work Step by Step
We are given that $\dfrac{dy}{dx}=\sec x$
$\dfrac{d}{dx}\int_{2}^{x} \sec t dt+3=\sec x$
This implies that
$y(2)=\int_{-2}^{2} \sec t dt+3 =0+3=3$
Hence, $y=\int_{2}^{x} \sec t dt+3$