An example of top-down analysis is to go to e.g. Gartner or similar research firms and read that they estimate the ridesharing market to be say $100B.
An example of bottom-up is to say, based on data from this and this article or data source, we estimate there are 1M cars doing ridesharing every year in the US. We will sell each of them a gadget for $10 so our market is $10M if we capture all of it.
Also, check out some of the common frameworks like Porter's 5 Forces, SWAT analysis, BCG Growth-Share matrix, and the GE-McKinsey matrix. There are a lot of free educational materials on these. I'd take it slow and steady, and try to focus on orienting your thinking to the questions asked by these frameworks.
Also, consider reading the Form 10Ks for some companies whose products you like. They have a section where they explain their market and their role in it.
Good luck!
Not sure if it could be considered the same, but in physics there's a concept of "from first principles" where you obtain something starting from laws which you know are true (within the domain of applicability of a theory). "From first principles" is in contrast to making comparisons for example reasonings like "I know the answer in that other situation, so in my situation of interest I'm going to estimate the answer is X% more".
Calculations from first principles are tipically more robust but harder to do.
It's quite hard to find good resources on the internet for this purpose; what helped me was scouring Wikipedia [1] for the buzzwords (check out 'see also') and searching on Google if necessary beyond that. There's also lots of free lectures from places like KhanAcademy or Coursera that likely cover these parts of business.
One small tip my cofounder learned in business school: I don't remember the exact terminology, but analyses that go from the inside outwards are more respected by investors than ones that go from the outside inwards. Don't take huge figures like "Number of Americans" and multiply by "Percent of Americans that do 'x'", but rather find localized, small figures, and extrapolate those up/outwards.
[1] https://en.wikipedia.org/wiki/Total_addressable_market https://en.wikipedia.org/wiki/Market_segmentation https://en.wikipedia.org/wiki/Target_market