# Question about convolution of shifted function-simple

I memorized the convolution formula, all good. I started doing examples and in one of them I had to calculate the convolution of a shifted function with another one.

I know the property $$H(x)=f(x)\ast g(x)\\H(x-k)=f(x)\ast g(x-k)=f(x-k)*g(x)$$

So I had no trouble finding the result but I had trouble writing the integral. Which of the following is correct?

$$\int_{-\infty}^\infty f(τ)g(t-k-τ)dτ\\\int_{-\infty}^\infty f(τ)g(t+k-τ)dτ$$

Considering an LTI continuous time system with impulse response $h(t)$, its response to any input $x(t)$ is can be computed with a convolution integral as:
$$y(t) = x(t) \star h(t) = \int_{-\infty}^{\infty} x(\tau) h(t-\tau) d\tau$$ and equivalently $$y(t) = h(t) \star x(t) = \int_{-\infty}^{\infty} h(\tau) x(t-\tau) d\tau$$
Now shifting the output $y(t)$ by $k$ could be shown as $$y(t-k) = \int_{-\infty}^{\infty} x(\tau) h(t-k-\tau) d\tau$$ or equivalently
$$y(t-k) = \int_{-\infty}^{\infty} h(\tau) x(t-k-\tau) d\tau$$
Where the first one equals $y(t-k) = x(t) \star h(t-k)$ and the second one equals $y(t-k) = h(t) \star x(t-k)$