My son as an exercise had to solve for $y$ in
$$\int_0^y\frac x{\cos(x)^2}dx = \frac12$$
and he didn't manage to do it, and neither do I. You can find the primitive of the integrand, turning the equation into
$$y\tan y + \log\left(\cos y\right) = \frac12,$$
but that doesn't seem easy to solve either.
Is there some kind of a closed-form solution? Note that this is secondary school, so I expect it to be possible without complex integration, though if you find a solution using complex integration I would be interested in seeing that as well.
Certainly, one way to look for solutions is by using graphs. The red curve is $f(x) = \int_0^x t\sec^2 t\, dt$ and the blue line is just $g(x) = \frac12$. It is worth noting that $f$ is an even function, and so the solutions occur in pairs, as the image below suggests.