From the figure we notice that the figure B is smaller than figure A, hence the dilation is a reduction.
Now, to find the dilation factor we notice that the right side of figure A has length 6; the same side for figure B has length 2; then we need to find a factor that fullfils:
solving for k we have that:
Therefore the scale factor of the dilation is 1/3