Let the present ages of A and B be \( 6x \) and \( 5x \).
Sum of ages:
\[
6x + 5x = 11x = 44 \Rightarrow x = 4
\]
So, A = 24, B = 20
Step 2: Ages after 8 years:
\[
A = 24 + 8 = 32,\quad B = 20 + 8 = 28
\]
\[
\text{Ratio} = \frac{32}{28} = \frac{8}{7}
\]