@TagaErik
In the first case, "ng" is serving as the word "of"...
"ang halaga ng tiket" = "the price of the ticket".
In the second case, they're using the "kaysa sa" comparison sentence pattern...
Ex:
"Mas mahirap ito kaysa sa iyan."
"Mas matalino siya kaysa sa akin."
"Mas matangkad si Jane kaysa sa kanya."