This trial is testing the combination of two drugs, cediranib maleate and olaparib, to treat patients with certain types of recurrent cancer. Cediranib maleate cuts off the blood supply to cancer cells, while olaparib stops them from repairing their DNA. The trial aims to find the best dose and see if the combination works better than using olaparib by itself. Combining cediranib, which cuts off the blood supply to cancer cells, with olaparib, which stops cancer cells from repairing their DNA, may help patients live longer without their cancer getting worse.