The probability of a student passing any exam is 2/3. If the student takes three…