Can you use a simple algorithm to multiply two numbers with 36 * 34 and 52 * 58 digits equal to 10 and the same ten digits?

Can you use a simple algorithm to multiply two numbers with 36 * 34 and 52 * 58 digits equal to 10 and the same ten digits?

This is called head and tail in ten
For example, 36 * 34 = (30 * 30) + (300) + (6 * 4) = 1224
52*58= (50*50)+(500)+(2*8)=3016
Is divided into three parts to calculate. There are similar tail with the head ten