Reflection of Triangle  across the X-Axis
    >
  }
  description={
    <>
      Visualization of triangle  and its
      reflection  after mirroring across
      the X-axis.
    >
  }
  cameraPosition={[0, 0, 15]}
  showZAxis={false}
  data={[
    // Triangle ABC (Original)
    ...[
      {
        from: { x: -1, y: 4, z: 0, label: "A" },
        to: { x: 2, y: 1, z: 0, label: "B" },
      },
      {
        from: { x: 2, y: 1, z: 0, label: "B" },
        to: { x: -2, y: -1, z: 0, label: "C" },
      },
      {
        from: { x: -2, y: -1, z: 0, label: "C" },
        to: { x: -1, y: 4, z: 0, label: "A" },
      },
    ].map((segment) => ({
      points: [segment.from, segment.to],
      color: getColor("ORANGE"),
      showPoints: true,
      labels: [
        {
          text: segment.from.label,
          at: 0,
          offset: [0.3, 0.3, 0],
        },
        { text: segment.to.label, at: 1, offset: [0.3, 0.3, 0] },
      ],
    })),
    // Triangle A'B'C' (Reflected)
    ...[
      {
        from: { x: -1, y: -4, z: 0, label: "A'" },
        to: { x: 2, y: -1, z: 0, label: "B'" },
      },
      {
        from: { x: 2, y: -1, z: 0, label: "B'" },
        to: { x: -2, y: 1, z: 0, label: "C'" },
      },
      {
        from: { x: -2, y: 1, z: 0, label: "C'" },
        to: { x: -1, y: -4, z: 0, label: "A'" },
      },
    ].map((segment) => ({
      points: [segment.from, segment.to],
      color: getColor("PURPLE"),
      showPoints: true,
      labels: [
        {
          text: segment.from.label,
          at: 0,
          offset: [0.3, 0.3, 0],
        },
        { text: segment.to.label, at: 1, offset: [0.3, 0.3, 0] },
      ],
    })),
  ]}
/>
### Reflecting a Line
If a line has the equation  and is reflected across the X-axis, determine the equation of its reflected line.
**Alternative Solution:**
Let an arbitrary point  lie on the line . Then, the following holds:
The point  reflected across the X-axis produces the image .
To obtain the equation of the reflected line, we substitute the coordinates of the image into new variables. Let  and .
From this, we get  and .
Substitute  and  into the original equation :
  
  
Since  and  are arbitrary variables representing the coordinates on the reflected line, we can rewrite them as  and .
Thus, the equation of the reflected line is:
  
  
        Reflection of Line  across the X-Axis
      >
    }
    description={
      <>
        The original line  (lime green) and its
        reflection  (magenta) after mirroring.
      >
    }
    cameraPosition={[0, 0, 15]}
    showZAxis={false}
    data={[
      {
        // Original Line: 2x - 3y = 0  => y = (2/3)x
        points: [
          { x: -6, y: (2 / 3) * -6, z: 0 },
          { x: 6, y: (2 / 3) * 6, z: 0 },
        ],
        color: getColor("LIME"),
        labels: [{ text: "2x - 3y = 0", at: 1, offset: [0.5, 0.5, 0] }],
      },
      {
        // Reflected Line: 2x + 3y = 0 => y = -(2/3)x
        points: [
          { x: -6, y: -(2 / 3) * -6, z: 0 },
          { x: 6, y: -(2 / 3) * 6, z: 0 },
        ],
        color: getColor("MAGENTA"),
        labels: [{ text: "2x + 3y = 0", at: 1, offset: [0.5, -0.5, 0] }],
      },
    ]}
  />
This shows how the equation of a line changes after being reflected across the X-axis.