Looking at the relevant definitions is always an important first step to take in introductory problems in proof writing.
For nonzero integers $d,a$ the following are equivalent statements:
- $d\mid a$
- $d$ divides $a$
- $a$ is divisible by $d$
- $a$ is an integer multiple of $d$
- There exists some integer $k$ such that $a = d\times k$
- $\frac{a}{d}$ is an integer
- $\vdots$
(There are still several more equivalent statements, but those can come later in your studies and don't need to be mentioned now)
Suppose that $d\mid a$. We wish to show that for any integer $c$ it follows that $d\mid ac$.
Since $d\mid a$, it follows that there is some integer $k$ such that $a = d\times k$.
By multiplying both sides of that equation by $c$ and slight rearranging we have $ac = d\times (kc)$
Now... we ask, is there an integer that we can fill in the blue square with in the following $ac = d\times \color{blue}{\square}$ to make the equality true? Yes, we can, we can fill it in with $kc$ which is also an integer since our earlier work already showed that $ac = d\times (kc)$.
Since $ac$ is an integer multiple of $d$, by definition then $d\mid ac$
Side note: you would notice that when we talked about how $d\mid a$ that means there is some $k$ such that $a=d\times k$. If we were to also talk about how $d\mid b$ and rewrite this using another equality, it does not have to be "the same $k$" in the equality... so we would probably want to use a different letter., say for example $\ell$ such that $b = d\times \ell$. We don't care what the integer looks like or how it is written, all we care about is that it is an integer.