i want to be to store the x value of an intersection of two graphs and compute with that value in another function