What is The difference Between the squares of two numbers is 5? What is Three times the square of the first number increased by the square of the second number is 31? Find the numbers.
The way you wrote the problem is super confusing and I suggest you write questions with cleaner English as it will be beneficial for everyone.
Substitute iii into i,
Substitute iv into i,