The circuit can be redrawn as, 45V is drop across the branch one, so current through it, I1=Req145=41545=12A
Now, above circuit can be redrawn as,
Since, in a series circuit, the current flows will be same,
hence, Vab=IabReq(ab)=12(415+4+10) ⇒Vab=213V