Let the base be .
Therefore, the altitude will be
The value of cannot be negative
Therefore, the base is and the altitude is .
Let the base be .
Therefore, the altitude will be
The value of cannot be negative
Therefore, the base is and the altitude is .