Find the equation to the sides and diagonals of a regular hexagon, two of its sides,

which meet in a corner, being the axis of coordinates.

To find the equation of the sides and diagonals of a regular hexagon, we first need to understand the geometry of a regular hexagon. A regular hexagon is a polygon with six equal sides and six equal angles.

Let's consider a regular hexagon with two sides, which meet at a corner, as the axis of coordinates. We can assume that these two sides lie on the x-axis and y-axis, respectively.

Let's denote the length of each side of the hexagon as 's'. The two sides that meet at the corner on the x-axis can be represented by the equations:
- y = 0 (since they lie on the x-axis)
- 0 ≤ x ≤ s

The other two sides that meet at the corner on the y-axis can be represented by the equations:
- x = 0 (since they lie on the y-axis)
- 0 ≤ y ≤ s

Now, we need to find the equations of the remaining two sides or diagonals. To do that, we can use the concept of slopes.

The slope of each side of a regular hexagon is given by:
m = tan(π/6) = √3/3

For the sides or diagonals that meet at the corner on the x-axis, their equations can be represented as:
- y = (√3/3)x + s (since the slope is positive)

For the sides or diagonals that meet at the corner on the y-axis, their equations can be represented as:
- y = (√3/3)(x - s) (since the slope is negative)

Combining all these equations, we have the following equations that represent the sides and diagonals of a regular hexagon with two sides as the axis of coordinates:

- y = 0, 0 ≤ x ≤ s
- 0 ≤ y ≤ s, x = 0
- y = (√3/3)(x - s), 0 ≤ x ≤ s
- y = (√3/3)x + s, 0 ≤ x ≤ s

These equations represent the sides and diagonals of a regular hexagon as requested.