Transaction Value vs. Enterprise Value vs. Market Cap

Hi, i’m digressing a little from CFA material and talking about a real world example. Company A purchased a 60% stake of Company B for 200 mil cash. Thus, is 333.33 mil (200/0.6) the EV or market cap? I’m confused because this is an M&A exercise so the intuition is company A paid the EV price so to speak, but company A is not acquiring the entire 100% of company B. My colleagues tell me that 333.3 mil is the market cap, and to get EV I must make the adjustments to this amount. Can anyone clarify this for me? Thanks.