Leo got 2 x 2 = <<2*2=4>>4 mistakes.
So, Brent got 4 + 1 = <<4+1=5>>5 mistakes.
This means that 25 + 5 = <<25+5=30>>30 is the perfect score.
Hence, Madeline got a score of 30 - 2 = <<30-2=28>>28.
#### 28