#### Answer

$a=20; b=15$

#### Work Step by Step

1. First we need to find the ratio by setting up two similar sides of the triangles. In this case, we know both hypotenuses, so we use them to set our ratio.
$\frac{25}{10}$
2. Make following three equivalent ratios
$\frac{25}{10} =\frac{a}{8} =\frac{b}{6}$
3. We will solve variable at a time, first find a
$\frac{25}{10} =\frac{a}{8}$
$10a=200$
$a=20$
4. Then find the second side b
$\frac{25}{10} =\frac{b}{6}$
$10b=150$
$b=15$