GPS uses trilateration, not triangulation, to figure out where you are. The actual math is complex, but this video shows how GPS uses three satellites to sort out exactly where you are.
Trilateration – how to convert time into location
Attributes:
Resource Link: https://www.youtube.com/watch?v=4O3ZVHVFhes