The answer to b is:
b = p/2 - a
the answer to a is:
a= p - 2b/2
I am also homeschooled :-)
9.5m questions
12.2m answers