Combining two user defined parameters with different functions

I knew it had to be something pretty simple. You’re a genius! It works perfectly. This is exactly what I was looking for.

Thanks!