to #1:

If

then the normal vector of is

then the normal vector of is

then the normal vector of is

The direction vector of the intersection line of the first two planes is:

The normal vector must be perpendicular to this direction vector:

which will yield

to #2:

Given

That means:

Now substitute x = r and y = s

...... ......