(dip(dip
qi+(1+di
-)p)+(1+
di-)pp)
