Ian, Thomas and Josh have a total of 264 phone cards. Ian has thrice as many phone cards as Thomas. Josh has 30 fewer phone cards than Ian. How many phone cards does Josh have?

Tom's number --- x

Ian's number = 3x
Josh's number = 3x - 30

x + 3x + 3x-30 = 264

solve for x , then sub into my definitions