[tex]e)\\\\5(2p-3r)-4(-3p+r)-(6p+7r) = 10p-15r+12p-4r-6p-7r = 16p-26r\\\\dla \ \ p = -3 \ i \ r = 2\\\\16p-26r = 16\cdot(-3)-26\cdot2 = -48-52 =\boxed{ -100}[/tex]
[tex]f)\\\\-(a+1)(2b-3)+6(a+\frac{1}{3}b) = -(2ab-3a+2b-3)+6a+2b=\\\\=-2ab+3a-2b+3+6a+2b=-2ab+9a+3\\\\\\dla \ \ a = 5 \ i \ b = 2\\\\-2ab+9a+3 = -2\cdot5\cdot2+9\cdot5+3 = -20+45+3 = \boxed{28}[/tex]