The length is dilated from 15 to 45, that is 3 times.  Hence the scale factor is 3.

 

                                                                    ***