In three plays, a football team loses five yards and then gains 32 yards by completing a pass. Then a penalty was called and the team lost 10 yards. how many yards did the team actually gain?​