starting with a random number, how can i convert it to 2 (equal) equations?