The hydrolysis of ester in the presence of acid can be treated as pseudo first order reaction
But actually it is of third order and a concentration of ester, water and acid will affect the rate of reaction.
So Rate= k[H+][H2O][Ester]
But in our experiments concentration of H2O is taken in huge excess and assumed as constant, similarly concentration of H+ in a particular experiment will not change so it is also kept as constant.
So we are writing Rate= K[ester]. {Here K=[H+][H2O]}
When we are changing the concentration of acid in two different experiments
K1 HCl/K2 H2SO4 = 0.05 [H2O]/0.1[H2O] = 1/2