In both cases, assume some computations are done between the reads and writes that potentially change the values of A and B.
a) Show a schedule that obeys 2PL in which both transactions execute all their instructions. Include lock / unlock instructions