The waters pH is highly irrelevant. What is relevant is the 39 ppm of alkalinity. For every 5 gallons of your water 12.2 mL of 10% Phosphoric acid should take care of that (call it 12 mL even, which should be close enough). Ditto 1.15 mL of 88% lactic acid (call it 1 mL even, which in all probably is close enough). I use medicine syringes.
Beyond that, add calcium chloride for maltiness, or add gypsum for dryness (or you might want to add a combination of both). The choices here vary with the style you are brewing. Bit the general goal for adding either of these is to get your waters Ca++ (calcium) ion concentration up to around 50 to perhaps as high as 100 ppm (target at least 50 ppm).