Ned scored 2p+3. Tony scored 3 points more than Ned, so Tony scored 3+2p+3, or 2p+6. Matt scored twice as many points as Tony, so Matt scored 2(2p+6), or 4p+12. Juan scored 8 fewer points than Ned, so Juan scored 2p+3-8, or 2p-5. To simplify, we add these four values.
2p + 3
2p + 6
4p + 12
2p - 5
This equals 10p + 16.