A dilation with scale factor $k$ takes figure A to figure B. Find the sum of all possible values of $k$.