Here is how to obtain a simple estimate, and a design recommendation for your project.
First, redraw your diagram to show the pipe splitting into two parallel pipes of different cross-sectional area. Make the cross section of the smaller pipe equal to the area of the opening you want to make in the larger pipe.
For slow flow rates, the sum of all flows at the splitting junction will equal zero (continuity equation) which means sum of the flows in the two split pipes will equal the original flow rate entering the split junction.
Estimate the flows in the two exit pipes by apportioning the inlet flow between them in direct proportion to the ratio of their cross-sectional areas.
The flow through the smaller pipe in your original drawing exits the main pipe at a sharp 90 degree angle, which is going to restrict the flow exiting there slightly, so we know that this method will yield a slight overestimate of the flow rate coming out of the hole.
Now, as a piping system designer, your time is worth a certain amount per hour, and it is going to take you a certain amount of time to do a careful calculation or even a computer modeling run of your design problem- which will cost more than buying an adjustable valve and teeing it into the main pipe, and then turning the valve handle until you get exactly the flow rate out of it that you desire.
I have used this approach (using extremely basic physics to quickly get a "back of the envelope" estimate of one significant digit accuracy, and then running an experiment to get two significant digits) over and over in my former career, and was blessed by having a professional physicist sitting nearby who was amenable to accepting caffeine bribes for the back-of-the-envelope part of the process.
Very cost-effective, even taking into account the price of coffee.