Below, you can see three complete equations and one incomplete. Based on the three complete ones, can you complete the incomplete one?

5 $ 4 $ 3 $ 9 = 4215
6 $ 9 $ 2 $ 6 = 3816
4 $ 7 $ 3 $ 3 = 1122
7 $ 2 $ 7 $ 4 = ____

2418 is the answer.

The algo that has been used here is

A $ B $ C $ D = [first digit of (A * D)] [last digit of (B * C)] [first digit of (B * C)] [last digit of (A * D)]

Using the same algo,
7 $ 2 $ 7 $ 4 = [first digit of (7 * 4)] [last digit of (2 * 7)] [first digit of (2 * 7)] [last digit of (7 * 4)]
= 2418