The same way. On the click of each radio button have each set its value into the same variable. Then you can use conditions to do different things on the next page based on the variable value. Since they overwrite the same variable, it will be whichever the user selected last.
Make sure to set a default variable value or handle the empty case.