To understand the anticancer mechanism, the effect of derivative 31 on the expression of genes encoding TP53, CDKN1A, BCL-2, and BAX in the tested cancer cells was investigated. This evidence concerns the gene TP53 and cancer.