Let W be the wide and L the length of the classroom, then we can write
[tex]2\times W+2\times L=130[/tex]Since W=25 feets, we get
[tex]\begin{gathered} 2\times25+2\times L=130 \\ 50+2\times L=130 \end{gathered}[/tex]If we move 50 to the right hand side as -50, we obtain
[tex]2\times L=130-50[/tex]since 130-50=80, we get
[tex]2\times L=80[/tex]Now, if we move the coefficient 2 to the right hand side, we obtain
[tex]\begin{gathered} L=\frac{80}{2} \\ L=40 \end{gathered}[/tex]that is, the lenght of the classroom is equal to 40 feets.