The answer is D, but this is a badly written question. You have more non-binary independent variables (the arrows direction), and two dependent variables, where one is binary and the other isn't.
So it's clear that the direction of the gray arrow represents the number of sides of the shape (pointing to the clock hours). However the back arrow has 3 different positions, which should be impacting the shape color. Since the direction is the same as in example one, the color should be the same - black.