help please I don’t understand how to use the numbers for the method from both a and b!!

Help Please I Dont Understand How To Use The Numbers For The Method From Both A And B class=