Three tables would be required for three entities E1 ,E2,E3 now R12 is many to many relationship so new table will be created with(a11,a21) as key.R13 is one to many relationship so need of extra table
E1(a11,a12)
E2(a21,a22)
E3(a31,a32,a11') a11' is foreign key
R(a11,a21)