g(x)=b\{ax\}

a = 1 (slider from -5 to 5, step 0.1)
f(x) = (a * x)
b = 1 (slider from -5 to 5, step 0.1)
g(x) = (b * (f(x) - floor(f(x))))
lista1 = Sequence((q / a, 0), q, -30, 30)
lista2 = Sequence(((q + 1) / a, b), q, -30, 30)