Seems like a simple systems of equations problem...

Printable View