How To Make 2D Water Material with Repeating Surface Texture?

I’m trying to create a water material for a 2D project. I have a gradient texture for the color of the water, which I want to scale as normal across the object it is applied to. I have a second texture for the surface of the water, which I want to tile horizontally, and stay locked to the top of the object it is applied to as well as drawing on top of the gradient.

This first image shows the two textures by themselves without any scaling:


This second image shows the desired effect as if it was applied to a scaled object:

I’m pretty new to working with materials and so far this has been over my head. Is this something easy to achieve or is it more complicated than I’m realizing?