y and z coordinates.
Explanation:
If a line is parallel to x-axis then every point on it will be at a constant distance from xy and xz plane.
∵ z-coordinate of a point gives its perpendicular distance from xy plane and y-coordinate of a point gives its perpendicular distance from xz plane
∴ every point will have same y and z coordinates.