Variables coming into conflict

how could i do this for example?