instead of $1, use this, since the first letters of the other words are red:
$replace($1,$mid($1,1,1),4 $+ $mid($1,1,1) $+ 12)