AMC 10A 2017 Problem 19

Alice refuses to sit next to either Bob or Carla. Derek refuses to sit next to Eric. How many ways are there for the five of them to sit in a row of 5 chairs under these conditions?

Answer Choices
A. 12
B. 16
C. 28
D. 32
E. 40