Daca a+b=52 si c=10, calculati ac+bc.