Step 1: Change to sine and cosine:
$\sec x = \dfrac{1}{\cos x}$ and $\tan x = \dfrac{\sin x}{\cos x}$, so
\[ \frac{\sec x}{\sec x + \tan x} = \frac{1/\cos x}{(1 + \sin x)/\cos x} = \frac{1}{1 + \sin x} \]
Step 2: Remove the sine from the denominator:
Multiply the top and bottom by $1 - \sin x$:
\[ \frac{1}{1 + \sin x} \cdot \frac{1 - \sin x}{1 - \sin x} = \frac{1 - \sin x}{1 - \sin^2 x} = \frac{1 - \sin x}{\cos^2 x} \]
\[ = \frac{1}{\cos^2 x} - \frac{\sin x}{\cos^2 x} = \sec^2 x - \sec x \tan x \]
Step 3: Integrate:
$\displaystyle\int \sec^2 x\,dx = \tan x$ and $\displaystyle\int \sec x\tan x\,dx = \sec x$. So the integral is $\tan x - \sec x + C$.
Final Answer:
The required integral is $\tan x - \sec x + C$.
\[ \boxed{\tan x - \sec x + C} \]