Answer:
(5) 3
(6)

Explanation:
For both of these, we can pick a straight corresponding side and find the length of this side for both shapes. We can use any side with the distance formula, but with the way this graph is finding a straight side that we can just count is easier
Then, we can find the scale factor.
(5)
The original shape (DEF) as side DE as 3 units long while the scaled shape (D'E'F') has D'E as 9 units long. This gives us a scale factor of 3:9 which simplifies to 3 since it is growing larger by 3.
(6)
The original shape (GHI) has side GH as 9 units long while the scaled shape (G'H'I') has side G'H' as 3 units long. This gives us a scale factor of 9:3 which simplifies to
since it's shrinking by 3.