im pre sure its like this:
each mark is scaled so lets just say u get a 70 raw and it scales to an 80. This 80 will be ur external mark.
Say u are ranked 5th. If the 5th mark in the actual hsc was a raw 60 then lets just say it scales to a 70. This is ur internal mark
then they just average it