1
Rearrange the equation to find one variable from another. \$R = xX + yY\$ \$xX = R - yY\$ \$x = \frac{R - yY}{X}\$ I also wouldn't return -1, but would instead use None or an empty list. This is as -1 makes no logical sense. And rather than extending a list with another list, just return the...