Yes, but make sure that you don't confuse t and τ. The horizontal axis you have drawn is the t axis, but the amount by which you shift the second signal is τ. So perhaps you should label the axis "t" and the text at the top should read "5<τ<6".
You do the integral over t but the answer is a function of τ.