Who was the director where the role was Fred Ayres?
CREATE TABLE "1931_1940" (
  "date" text,
  "theatre_studio_or_network" text,
  "role" text,
  "dance_partner" text,
  "director" text
);
SELECT "director" FROM "1931_1940" WHERE "role"='fred ayres';