We have the following function given:

We want to apply a dilation with a scale factor k centered at the origin
Assuming that the scale factor is k, then we just need to do the following :

And with this we preserve the condition of centered at the origin and with the dilation factor