Assuming simple interest, the formula for interest earned is:
Interest = Principle*Rate*Time
For TAK, that's:
Interest = (RM10,000)*(0.08)*(5 years) = RM4000
You want the same interest after 5 years at 6% (=0.06)
RM4000 = Principle*(0.06)*(5 years)
4000/(0.06*5) = Principle = RM13,333.33