Two masses are hanging over a frictionless, massless pulley as shown blocks_pulley_aMass m1 is 5.0 kg and mass m2 is 7.0 kg

copy and paste does not work here.

f = m g

m = 5+7 = 12
f = 9.8(7-5) or almost 20
so
a = f/m = about 20/12

To determine the answer to your question, we need more information or a specific inquiry. Could you please provide more details or ask a specific question about the two masses hanging over the pulley?