πName(Contacts⋈ID=ID(σState=CA(Address) ⋈ID=ID σState=MA(Address)))
Or:
πName(Contacts⋈ID=ID(πid(σState=CA(Address)) ∩ πid(σState=MA(Address))))
Or, using renaming:
πName(σState=CA AND State2=MA(Contacts ⋈ Address ⋈ID=ID Address[ID,State2]))