blue + red at C

Click and drag to move points A, B, and C as well as
sliders for amplitude and wavelength for both waves.

C = (14.239809523809514, 2.2826666666666724)
B = Point(yAxis)
b = Segment(B, C)
Amp = 0.25 (slider from 0 to 1, step 0.05)
λ = 0.5 (slider from 0 to 1, step 0.05)
g(x) = If[0 < x ≤ Length[b], (Amp * sin(x / λ))]
A = Point(yAxis)
a = Segment(A, C)
α = Angle((x(C), y(A)), A, C)
f(x) = If[0 < x ≤ Length[a], (Amp * sin(x / λ))]
f_1 = Translate(f, Vector[(0, 0), A])
c = Rotate(f_1, α, A)
β = Angle((x(C), y(B)), B, C)
g_2 = Translate(g, Vector[(0, 0), B])
d = Rotate(g_2, β, B)
D: C + ((5 * (g(Length[b]) + f(Length[a]))^(2)), 0)
h = Segment(C, D)