( ( ( The poles ) ( of ( two magnets ) ) ) ( ( will ( ( ( repel or ) attract ) ( each other ) ) ) . ) )
(ROOT (S (NP (NP (DT The) (NNS poles)) (PP (IN of) (NP (CD two) (NNS magnets)))) (VP (MD will) (VP (VB repel) (CC or) (VB attract) (NP (DT each) (JJ other)))) (. .)))
The poles of two magnets will repel or attract each other.
(ROOT (S (S (VP (VBG Increasing) (NP (NP (DT the) (NN distance)) (PP (IN between) (NP (DT the) (CD two) (NNS magnets)))))) (VP (MD will) (VP (VB cause) (NP (DT a) (NN decrease)) (PP (IN in) (NP (NP (DT the) (NN force)) (PP (IN of) (NP (NP (NN attraction)) (PP (IN between) (NP (CD two) (NNS magnets))))))))) (. .)))
Increasing the distance between the two magnets will cause a decrease in the force of attraction between two magnets.