Answer
$3.2\text{ hr}$.
Work Step by Step
From the given information, the students spend $0.7\text{ hr}$ more doing leisure activities than educational activities.
Then the time spent doing leisure activities is $\left( x+0.7 \right)\text{ hr}$, and the total time spent is $7.1\text{ hr}$.
$x+\left( x+0.7 \right)\text{ }=7.\text{1}$ …… (1)
Rearrange and solve the equation.
$\begin{align}
& 2x+0.7\text{ }=7.\text{1} \\
& 2x=7.\text{1}-0.7 \\
& 2x=6.4
\end{align}$
Divide by 2 on both sides.
$\begin{align}
& \frac{2x}{2}=\frac{6.4}{2} \\
& x=3.2
\end{align}$
Thus, the time spend in educational activity is $3.2\text{ hr}$.
And if $x=3.2$, then the time spent doing leisure activities is:
$\begin{align}
& \left( x+0.7 \right)=\left( 3.2+0.7 \right)\text{ hr} \\
& =3.\text{9 hr}
\end{align}$
Thus, the time spent on educational activities is $3.2\text{ hr}$.