How to Mangle, Priority with HTB (Queue Tree) in ROS 3.16

Could anyone answer to my post?
http://forum.mikrotik.com/t/where-should-i-implement-htb/39455/1

Please help…