If your endpoints are (x1, y1) and (x2, y2) and you have a random number r int in the range from 0 to 1, the point along the line will be:
(x1+(x2-x1)*r,y1+(y2-y1)*r)
With your endpoints (1952805748.0) and (7.42) with a random value of 0.5 (halfway along the line) you will get:
(976402877.5,21)
which you can easily use as a midpoint. You can combine any coordinates if you need integers.
Following your comment (rephrasing):
I may not have explained this properly: one person would be given (x1,y1) different person would be given (x3,y3). At no point would a person be able to take a single point and figure out where the line crosses x (N,0).
Given that your (x1, y1) was (1952805748.0), the one who knows this intersection of the x axis (since y = 0). It looks like you want the two points along the line not to be on the x axis. This means that one side should be provided with your randomly selected endpoint (7.42), and the other side should be your random point on the line (976402877,5,21) - none of these points should have a y value, equal to zero. This can be achieved by ensuring that the random value is in the range of 0.2 to 1.0, and not from 0.0 to 1.0 (assuming your y1 is always 0).
None of the parties could work out the intersection of the x axis with their one coordinate, but two combined combinations would provide you with this information.
In addition, in this case, rounding or ordinates are not suitable, you will have to compare them, for example (976402877.5,21), becoming (1952805755,42) [multiply by 2, which is the simplest integer].