4-coumaroyl-CoA+H2O+coumaroyl-CoA+malonyl-CoA->coenzyme A+CO2+p-coumaroyltriacetate