Labwork 7
Exercise 2 a)
Multiply1(a, x)
n = a.length
for i = 0 to n
b
i
= 0
if i < n
b
i
+= -x * a
i
if i - 1 >= 0
b
i
+= a
i - 1
return b