A boat can travel 24mph

mph
in still water. If it travels 186
186
miles with the current in the same length of time it travels 102
102
miles against the current, what is the speed of the current?

since time = distance/speed, just solve

186/(24+x) = 102/(24-x)