Answer:
g = 4
h = 4.5
Explanation:
The corresponding sides of two similar figures are proportional to each other.
Therefore,

✔️Find g:

Cross multiply
g*6 = 8*3
6g = 24
Divide both sides by 6
g = 24/6
g = 4
✔️Find h:

Cross multiply
8*h = 6*6
8h = 36
h = 36/8
h = 4.5