Block A of maa m, connected with spring of spring constant K1 is executting SHM for which x=xblock0+a1sinωt. block B of same mass connected with spring of spring connected K2 is executting SHM for x=x0−a2sinωt block B collides with block A elastically at time t=0, then displacement time equation of block A will be