if GMT is 10am, 5th of july when local time in place x is 4:48am, 4th July, find the longitude of place x

well, each hour of time covers about 15°, so going west, multiply the time difference by 15°

Unfortunately, you have a difference of more than 24 hours, so I suspect a typo