n, a, b = list(map(int, input().split()))

l = list(map(int, input().split()))

ans = 0

for i in range(n-1):

  if (l[i+1]-l[i])*a <= b:

    ans += (l[i+1]-l[i])*a

  else:

    ans += b

print(ans)
n, a, b = list(map(int, input().split()))

X = list(map(int, input().split()))



ans = 0

for i in range(n-1):

    if a*(X[i+1]-X[i]) <= b:

        ans += a*(X[i+1]-X[i])

    else:

        ans += b

print(ans)

n, a, b = list(map(int, input().split()))
l = list(map(int, input().split()))
ans = 0
for i in range(n - 1):
    if (l[i + 1] - l[i]) * a <= b:
        ans += (l[i + 1] - l[i]) * a
    else:
        ans += b
print(ans)

n, a, b = list(map(int, input().split()))
X = list(map(int, input().split()))
ans = 0
for i in range(n - 1):
    if a * (X[i + 1] - X[i]) <= b:
        ans += a * (X[i + 1] - X[i])
    else:
        ans += b
print(ans)

-l = list(map(int, input().split())) +X = list(map(int, input().split())) -    if (l[i + 1] - l[i]) * a <= b: -        ans += (l[i + 1] - l[i]) * a +    if a * (X[i + 1] - X[i]) <= b: +        ans += a * (X[i + 1] - X[i])