If the two magnets have their two N poles pointing up then when they are side by side they will repel each other but when they are head-to-tail they will attract.
Proteins can carry nutrients across the plasma membrane. There are also differnet receptros outside the cell that recieve signals as well as inside the cell.