A polygon has perimeter 12. It is dilated with a scale factor of k and the resulting image has a perimeter of 8. What is the scale factor?
1) 4
2) 3
3) 1
4) 2