The number of pets that Helena has can be represented by x.
• The number of pets that Payton has is three times the number of pets that Helena has.
• The total number of pets they both have is 8.

What is the number of pets Payton has?