An organic compound which reacts readily with bromine to form a compound with the formula…