CREATE TABLE table_49977 ("Name" TEXT, "Heir of" TEXT, "Birth" TEXT, "Ceased to be Duke of Girona" TEXT, "Death" TEXT)

WHAT IS THE BIRTH DATE WITH A DEATH OF OCTOBER 1389?
SELECT "Birth" FROM table_49977 WHERE "Death" = 'october 1389'
SELECT "Birth" FROM "table_49977" WHERE "Death" = 'october 1389'