First, we have to set an equation from the given statement. Let n represent the number, then:
[tex]7n+6=n+24.[/tex]To solve the above equation for n, first, we subtract n from both sides of the equation:
[tex]\begin{gathered} 7n+6-n=n+24-n, \\ 6n+6=24. \end{gathered}[/tex]Subtracting 6, we get:
[tex]\begin{gathered} 6n+6-6=24-6, \\ 6n=18. \end{gathered}[/tex]Finally, dividing by 6 we get:
[tex]\begin{gathered} \frac{6n}{6}=\frac{18}{6}, \\ n=3. \end{gathered}[/tex]