The pH of your water isn't specified, but if we presume 7.1 pH and we further presume that for water in general 1L has a nominal weight of 1 Kg. we can compute your waters linear slope BC as follows:
Delta-pH = mEq/(BC x Kg.)
(7.1-5.4) = 0.6474/(BC x 1L)
1.7 x BC = 0.6474
BC_Water = 0.3808 mEq/L.pH
This means that for every 1.0 pH units that we want to move 1 Liter of your water we must add to it 0.3808 mEq of acid. This linear slope approach to buffering capacity should serve ballpark reasonably only over "modest" Delta-pH shifts away from the originally targeted pH of 5.4, since pH is exponential and not linear.
For example, if you desired to only reduce the pH of one liter of your water to 6.0 as opposed to 5.4:
(7.1-6.0) = mEq_Acid/(0.3808 x 1L)
1.1 = mEq_Acid/0.3808
mEq_Acid = 0.4189 (required to be added whereby to move 1L to pH 6.0)
88% Lactic Acid has an acid strength of 11.697 mEq/mL relative to our pH target of 6.0, so therefore:
0.4189 mEq / 11.697 mEq/mL = 0.03581 mL of 88% Lactic Acid required to be added per Liter of your water
For 5 gallons, which equals 18.927 Liters:
18.927 x 0.03851 ~= 0.68 mL of 88% Lactic Acid to be added whereby to move 5 gallons of 36 mg/L Alkalinity and pH 7.1 water to a targeted pH of 6.0.