Following Along Async Tutoring [Dface]

Assignment to explain in english how 1 or 2 inputs are true:

For 1 input: At least x has to be true and y and z are false, or z has to be true and x and y are false, or y has to be true and x and z are false. Otherwise the statement is false

For 2 input: At least x and y are true and z is false, y and z are true and x is false, or x and z are true and y is false.

or(and(x, not(y), not(z)), and(not(x), y, not(z)), and(not(x), not(y), z), and(x,y,z))
Truth table:

I think for this question the answer is or(or(or(or(and(and(x, not(y), not(z))), and(and(not(x), y), not(z))), and(and(not(x), not(y)),z)),and(x,y,z)))

Truth table:


I counted the open and closed parentheses to see if the number matched